diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 17:10:22 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 17:10:22 +0100 |
commit | 1e53fe7a08a386009ce01221320d33701d585f9c (patch) | |
tree | 5650c9749db2de9a2087f81a50158f0dfb8bdb35 /ACE/tests/RB_Tree_Test.cpp | |
parent | e05eb413c59f589e7d4192af7e12eb777017bd70 (diff) | |
download | ATCD-1e53fe7a08a386009ce01221320d33701d585f9c.tar.gz |
Modernize ACE tests with using instead of typedef
Diffstat (limited to 'ACE/tests/RB_Tree_Test.cpp')
-rw-r--r-- | ACE/tests/RB_Tree_Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/tests/RB_Tree_Test.cpp b/ACE/tests/RB_Tree_Test.cpp index 1656e1b803f..f2568ce66bc 100644 --- a/ACE/tests/RB_Tree_Test.cpp +++ b/ACE/tests/RB_Tree_Test.cpp @@ -28,10 +28,10 @@ // Type definitions for the four distinct parameterizations of the // test. -typedef ACE_RB_Tree_Test<int, int, ACE_Less_Than<int>, ACE_Null_Mutex> INT_INT_RB_TREE_TEST; -typedef ACE_RB_Tree_Test<int, const char *, ACE_Less_Than<int>, ACE_Null_Mutex> INT_STR_RB_TREE_TEST; -typedef ACE_RB_Tree_Test<const char *, int, ACE_Less_Than<const char *>, ACE_Null_Mutex> STR_INT_RB_TREE_TEST; -typedef ACE_RB_Tree_Test<const char *, const char *, ACE_Less_Than<const char *>, ACE_Null_Mutex> STR_STR_RB_TREE_TEST; +using INT_INT_RB_TREE_TEST = ACE_RB_Tree_Test<int, int, ACE_Less_Than<int>, ACE_Null_Mutex>; +using INT_STR_RB_TREE_TEST = ACE_RB_Tree_Test<int, const char *, ACE_Less_Than<int>, ACE_Null_Mutex>; +using STR_INT_RB_TREE_TEST = ACE_RB_Tree_Test<const char *, int, ACE_Less_Than<const char *>, ACE_Null_Mutex>; +using STR_STR_RB_TREE_TEST = ACE_RB_Tree_Test<const char *, const char *, ACE_Less_Than<const char *>, ACE_Null_Mutex>; // Number of entries placed in each tree. static int RB_TREE_TEST_ENTRIES = 8; |