summaryrefslogtreecommitdiff
path: root/ACE/tests/RB_Tree_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 17:10:22 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 17:10:22 +0100
commit1e53fe7a08a386009ce01221320d33701d585f9c (patch)
tree5650c9749db2de9a2087f81a50158f0dfb8bdb35 /ACE/tests/RB_Tree_Test.cpp
parente05eb413c59f589e7d4192af7e12eb777017bd70 (diff)
downloadATCD-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.cpp8
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;