fmt_helper cleanup

This commit is contained in:
gabime
2018-11-16 12:55:19 +02:00
parent b522413085
commit 552416bda4
2 changed files with 37 additions and 59 deletions

View File

@@ -452,7 +452,7 @@ public:
scoped_pad p(field_size, padinfo_, dest);
auto millis = fmt_helper::time_fraction<std::chrono::milliseconds>(msg.time);
fmt_helper::pad3(static_cast<int>(millis.count()), dest);
fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
}
};
@@ -818,7 +818,7 @@ public:
fmt_helper::append_buf(cached_datetime_, dest);
auto millis = fmt_helper::time_fraction<milliseconds>(msg.time);
fmt_helper::pad3(static_cast<int>(millis.count()), dest);
fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
dest.push_back(']');
dest.push_back(' ');