Skip to content

Commit

Permalink
Fix clang-tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Sep 8, 2023
1 parent b259927 commit bb05427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unittests/frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ void checkFrame(const podio::Frame& frame) {
REQUIRE(hits[1].energy() == 1);
REQUIRE(hits[1].cellID() == 0x123ULL);

REQUIRE(frame.get<ExampleClusterCollection>("emptyClusters").size() == 0);
REQUIRE(frame.get<ExampleClusterCollection>("emptyClusters").empty());

auto& clusters = frame.get<ExampleClusterCollection>("clusters");
REQUIRE(clusters.size() == 2);
Expand Down

0 comments on commit bb05427

Please sign in to comment.