diff --git a/src/libxrpl/tx/wasm/HostFuncImplFloat.cpp b/src/libxrpl/tx/wasm/HostFuncImplFloat.cpp index 2561e72cf3..c3a6e534a9 100644 --- a/src/libxrpl/tx/wasm/HostFuncImplFloat.cpp +++ b/src/libxrpl/tx/wasm/HostFuncImplFloat.cpp @@ -83,18 +83,18 @@ struct FloatState { // Set only when the requested mode is valid; sets the rounding mode on // construction and restores the previous mode on destruction. - std::optional guard_; + std::optional guard; explicit FloatState(int32_t mode) { if (auto const rm = Number::checkedRoundingMode(mode)) - guard_.emplace(*rm); + guard.emplace(*rm); } explicit operator bool() const { - return guard_.has_value(); + return guard.has_value(); } };