Skip to content

Commit 593807a

Browse files
committed
clang-tidy: Fix readability-container-size-empty check
See: https://clang.llvm.org/extra/clang-tidy/checks/readability/container-size-empty.html
1 parent 68c1c6c commit 593807a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mp/proxy-io.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ ProxyServerBase<Interface, Impl>::~ProxyServerBase()
488488
CleanupRun(fns);
489489
});
490490
}
491-
assert(m_context.cleanup_fns.size() == 0);
491+
assert(m_context.cleanup_fns.empty());
492492
std::unique_lock<std::mutex> lock(m_context.connection->m_loop.m_mutex);
493493
m_context.connection->m_loop.removeClient(lock);
494494
}

0 commit comments

Comments
 (0)