Browse Source

Shortcut for boolean conversion

cl-refactor
Christoph Jentzsch 10 years ago
parent
commit
027c386e05
  1. 5
      libevmface/Instruction.cpp

5
libevmface/Instruction.cpp

@ -321,8 +321,5 @@ InstructionInfo dev::eth::instructionInfo(Instruction _inst)
bool dev::eth::isValidInstruction(Instruction _inst)
{
if (c_instructionInfo.count(_inst))
return true;
else
return false;
return !!c_instructionInfo.count(_inst);
}

Loading…
Cancel
Save