Skip to content

Commit

Permalink
Remove a bogus assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiklohmann committed Jan 21, 2024
1 parent e1d9102 commit 4ff66bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libcaf_core/src/detail/print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ size_t print_timestamp(char* buf, size_t buf_size, time_t ts, size_t ms) {
auto pos = strftime(buf, buf_size, "%FT%T", &time_buf);
buf[pos++] = '.';
if (ms > 0) {
CAF_ASSERT(ms < 1000);
buf[pos++] = static_cast<char>((ms / 100) + '0');
buf[pos++] = static_cast<char>(((ms % 100) / 10) + '0');
buf[pos++] = static_cast<char>((ms % 10) + '0');
Expand Down

0 comments on commit 4ff66bf

Please sign in to comment.