diff --git a/server/test/objectcreatedestroy.cpp b/server/test/objectcreatedestroy.cpp index 192b5af8..f619584c 100644 --- a/server/test/objectcreatedestroy.cpp +++ b/server/test/objectcreatedestroy.cpp @@ -208,7 +208,7 @@ TEST_CASE("Create world, decoder and function => destroy function", "[object-cre functionsWeak.lock()->remove(functionWeak.lock()); REQUIRE(functionWeak.expired()); - REQUIRE(functionsWeak.lock()->items.size() == 0); + REQUIRE(functionsWeak.lock()->items.empty()); world.reset(); REQUIRE(functionsWeak.expired());