Skip to content
Snippets Groups Projects
Commit 8b6f879c authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[Actor] suppress potential false positive modernize-use-nullptr

parent d85469f2
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,9 @@ class Actor {
const auto start = std::chrono::steady_clock::now();
const auto deadline = start + std::chrono::milliseconds(timeout);
while (!(queue.size() == 0 && state.load(std::memory_order_acquire) == Retrieving)) {
// TODO: The suppressed linter error below may be a false positive
// reported by clang-tidy.
// NOLINTNEXTLINE(modernize-use-nullptr)
if (std::chrono::steady_clock::now() > deadline) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment