Commit 9c865560 authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning

parent 17888832
...@@ -889,7 +889,8 @@ class ThousandsSep { ...@@ -889,7 +889,8 @@ class ThousandsSep {
if (++digit_index_ % 3 != 0) if (++digit_index_ % 3 != 0)
return; return;
buffer -= sep_.size(); buffer -= sep_.size();
std::uninitialized_copy(sep_.data(), sep_.data() + sep_.size(), buffer); std::uninitialized_copy(sep_.data(), sep_.data() + sep_.size(),
internal::make_ptr(buffer, sep_.size()));
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment