Skip to content

Commit e8469c1

Browse files
committed
Fix hardening mode preprocessor check.
1 parent 3511bed commit e8469c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_complexity.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#include "test_iterators.h"
4545

4646
// We don't check number of operations in Debug mode because they are not stable enough due to additional validations.
47-
#ifdef _LIBCPP_HARDENING_MODE_DEBUG
47+
#if defined(_LIBCPP_HARDENING_MODE_DEBUG) && _LIBCPP_HARDENING_MODE_DEBUG
4848
# define ASSERT_COMPLEXITY(expression) (void)(expression)
4949
#else
5050
# define ASSERT_COMPLEXITY(expression) assert(expression)

0 commit comments

Comments
 (0)