diff --git a/include/sqlpp11/detail/float_safe_ostringstream.h b/include/sqlpp11/detail/float_safe_ostringstream.h index 05a0ea1f..79bdfe79 100644 --- a/include/sqlpp11/detail/float_safe_ostringstream.h +++ b/include/sqlpp11/detail/float_safe_ostringstream.h @@ -54,7 +54,7 @@ namespace sqlpp template void operator()(std::ostringstream& os, U&& x) const { - auto const old_precision{os.precision(std::numeric_limits::max_digits10)}; + auto const old_precision = os.precision(std::numeric_limits::max_digits10); os << std::forward(x); os.precision(old_precision); }