Commit 6ff0321
committed
Simplify db_copy_mgr_t::add_value()
The reason we had a different implementation for "double" values here is
that std::to_string() uses the current locale for writing out numbers.
For integers this doesn't matter, but for doubles this could be
something different than a decimal point. The fmt::to_string() function
on the other hand always uses the default locale, so it doesn't have
this problem. So we can use this for integers as well as for doubles.1 parent 8e783e9 commit 6ff0321
1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
| 293 | + | |
300 | 294 | | |
301 | 295 | | |
302 | 296 | | |
| |||
0 commit comments