mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 12:29:41 +08:00
Fix brace initialization, #498
This commit is contained in:
parent
26280d2678
commit
a50d719364
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user