0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Fix brace initialization, #498

This commit is contained in:
Roland Bock 2023-06-30 06:39:46 +02:00
parent 26280d2678
commit a50d719364

View File

@ -54,7 +54,7 @@ namespace sqlpp
template <typename U>
void operator()(std::ostringstream& os, U&& x) const
{
auto const old_precision{os.precision(std::numeric_limits<T>::max_digits10)};
auto const old_precision = os.precision(std::numeric_limits<T>::max_digits10);
os << std::forward<U>(x);
os.precision(old_precision);
}