Commit a6f7f300 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

DatabaseHelper: Fix warning when compiling without assertion

parent 1809117e
...@@ -224,6 +224,7 @@ class DatabaseHelpers ...@@ -224,6 +224,7 @@ class DatabaseHelpers
auto del = false; auto del = false;
auto res = m_deleted.compare_exchange_strong( del, true, std::memory_order_relaxed, std::memory_order_relaxed ); auto res = m_deleted.compare_exchange_strong( del, true, std::memory_order_relaxed, std::memory_order_relaxed );
assert(res); assert(res);
(void)res;
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment