summaryrefslogtreecommitdiff
path: root/src/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.cpp')
-rw-r--r--src/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.cpp b/src/test.cpp
index 2f29e01..a4371b2 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -222,7 +222,7 @@ int main()
IrcUser user2("coucou!~other@host.bla", prefixes);
assert(user2.nick == "coucou");
assert(user2.host == "~other@host.bla");
- assert(user2.modes.size() == 0);
+ assert(user2.modes.empty());
assert(user2.modes.find('a') == user2.modes.end());
/**