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/Compiler_Features_19_Test.cpp | |
parent | e05eb413c59f589e7d4192af7e12eb777017bd70 (diff) | |
download | ATCD-1e53fe7a08a386009ce01221320d33701d585f9c.tar.gz |
Modernize ACE tests with using instead of typedef
Diffstat (limited to 'ACE/tests/Compiler_Features_19_Test.cpp')
-rw-r--r-- | ACE/tests/Compiler_Features_19_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/Compiler_Features_19_Test.cpp b/ACE/tests/Compiler_Features_19_Test.cpp index a3fcad2e364..19ba4cddd76 100644 --- a/ACE/tests/Compiler_Features_19_Test.cpp +++ b/ACE/tests/Compiler_Features_19_Test.cpp @@ -16,7 +16,7 @@ namespace IDL typename _Alloc = std::allocator<_CharT> > class bounded_basic_string : public std::basic_string<_CharT, _Traits, _Alloc> { - typedef std::basic_string<_CharT, _Traits, _Alloc> _String; + using _String = std::basic_string<_CharT, _Traits, _Alloc>; public: static const uint32_t bound_ = _Bound; @@ -46,7 +46,7 @@ run_main (int, ACE_TCHAR *[]) { ACE_START_TEST (ACE_TEXT("Compiler_Features_19_Test")); - typedef IDL::bounded_string<100> string100; + using string100 = IDL::bounded_string<100>; string100 s100("world"); ACE_DEBUG ((LM_DEBUG, |