We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bb3480 commit c623df3Copy full SHA for c623df3
libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
@@ -52,7 +52,7 @@ void check_always_lock_free(std::atomic<T> const& a) {
52
// In all cases, also sanity-check it based on the implication always-lock-free => lock-free.
53
if (is_always_lock_free) {
54
auto is_lock_free = a.is_lock_free();
55
- ASSERT_SAME_TYPE(decltype(is_always_lock_free), bool const);
+ ASSERT_SAME_TYPE(decltype(is_lock_free), bool);
56
assert(is_lock_free);
57
}
58
ASSERT_NOEXCEPT(a.is_lock_free());
0 commit comments