Fix a warning

This commit is contained in:
Victor Zverovich 2016-05-07 07:10:40 -07:00
parent 1788883262
commit 9c865560fd

View File

@ -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()));
} }
}; };