diff options
Diffstat (limited to 'libcxx/test')
| -rw-r--r-- | libcxx/test/support/container_debug_tests.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/support/container_debug_tests.h b/libcxx/test/support/container_debug_tests.h index 347196ac79c..36496c24e2b 100644 --- a/libcxx/test/support/container_debug_tests.h +++ b/libcxx/test/support/container_debug_tests.h @@ -63,15 +63,15 @@ enum ContainerType { }; constexpr bool isSequential(ContainerType CT) { - return CT_Vector >= CT && CT_ForwardList <= CT; + return CT >= CT_Vector && CT <= CT_ForwardList; } constexpr bool isAssociative(ContainerType CT) { - return CT_Map >= CT && CT_MultiSet <= CT; + return CT >= CT_Map && CT <= CT_MultiSet; } constexpr bool isUnordered(ContainerType CT) { - return CT_UnorderedMap >= CT && CT_UnorderedMultiSet <= CT; + return CT >= CT_UnorderedMap && CT <= CT_UnorderedMultiSet; } constexpr bool isSet(ContainerType CT) { |

