Codechange: replace x.size() == 0 with x.empty()
This commit is contained in:
2
src/3rdparty/catch2/catch.hpp
vendored
2
src/3rdparty/catch2/catch.hpp
vendored
@@ -5922,7 +5922,7 @@ namespace Catch {
|
||||
}
|
||||
void testCaseEnded(TestCaseStats const& testCaseStats) override {
|
||||
auto node = std::make_shared<TestCaseNode>(testCaseStats);
|
||||
assert(m_sectionStack.size() == 0);
|
||||
assert(m_sectionStack.empty());
|
||||
node->children.push_back(m_rootSection);
|
||||
m_testCases.push_back(node);
|
||||
m_rootSection.reset();
|
||||
|
Reference in New Issue
Block a user