mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Reduce code smell - explicit (#83)
"explicit" should be used on single-parameter constructors and conversion operators https://sonarcloud.io/organizations/pando-project/issues?resolved=false&rules=cpp%3AS1709 Signed-off-by: Bence Gabor Kis <kisbg@inf.u-szeged.hu>
This commit is contained in:
parent
29ac4731c9
commit
21cd2bd2d6
60 changed files with 101 additions and 101 deletions
|
|
@ -1820,7 +1820,7 @@ NEVER_INLINE Value ByteCodeInterpreter::getGlobalObjectSlowCase(ExecutionState&
|
|||
|
||||
class VirtualIdDisabler {
|
||||
public:
|
||||
VirtualIdDisabler(Context* c)
|
||||
explicit VirtualIdDisabler(Context* c)
|
||||
{
|
||||
ctx = c;
|
||||
fn = c->virtualIdentifierCallback();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue