Skip to content

Commit

Permalink
fix static_assert's error message
Browse files Browse the repository at this point in the history
  • Loading branch information
leaf-potato authored and chenshuo committed Oct 12, 2020
1 parent 6239e3b commit 0697be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion muduo/base/Timestamp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using namespace muduo;

static_assert(sizeof(Timestamp) == sizeof(int64_t),
"Timestamp is same size as int64_t");
"Timestamp should be same size as int64_t");

string Timestamp::toString() const
{
Expand Down

0 comments on commit 0697be7

Please sign in to comment.