diff options
-rw-r--r-- | GasMeter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GasMeter.cpp b/GasMeter.cpp index 650bd6e2..4e5289e3 100644 --- a/GasMeter.cpp +++ b/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); |