Browse Source

Removed redundant std.

cl-refactor
chriseth 10 years ago
parent
commit
c58d5bb7dd
  1. 2
      libevmasm/GasMeter.cpp
  2. 2
      test/libsolidity/GasMeter.cpp

2
libevmasm/GasMeter.cpp

@ -34,7 +34,7 @@ GasMeter::GasConsumption& GasMeter::GasConsumption::operator+=(GasConsumption co
if (isInfinite)
return *this;
bigint v = bigint(value) + _other.value;
if (v > std::numeric_limits<u256>::max())
if (v > numeric_limits<u256>::max())
*this = infinite();
else
value = u256(v);

2
test/libsolidity/GasMeter.cpp

@ -71,7 +71,7 @@ public:
/// Compares the gas computed by PathGasMeter for the given signature (but unknown arguments)
/// against the actual gas usage computed by the VM on the given set of argument variants.
void testRunTimeGas(std::string const& _sig, vector<bytes> _argumentVariants)
void testRunTimeGas(string const& _sig, vector<bytes> _argumentVariants)
{
u256 gasUsed = 0;
FixedHash<4> hash(dev::sha3(_sig));

Loading…
Cancel
Save