Skip to content

Commit c623df3

Browse files
authored
[libc++] Fix typo in is_always_lock_free test (#113169)
1 parent 5bb3480 commit c623df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void check_always_lock_free(std::atomic<T> const& a) {
5252
// In all cases, also sanity-check it based on the implication always-lock-free => lock-free.
5353
if (is_always_lock_free) {
5454
auto is_lock_free = a.is_lock_free();
55-
ASSERT_SAME_TYPE(decltype(is_always_lock_free), bool const);
55+
ASSERT_SAME_TYPE(decltype(is_lock_free), bool);
5656
assert(is_lock_free);
5757
}
5858
ASSERT_NOEXCEPT(a.is_lock_free());

0 commit comments

Comments
 (0)