diff options
Diffstat (limited to 'ACE/tests/Compiler_Features_36_Test.cpp')
-rw-r--r-- | ACE/tests/Compiler_Features_36_Test.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/ACE/tests/Compiler_Features_36_Test.cpp b/ACE/tests/Compiler_Features_36_Test.cpp index 7b9096e0bd4..9a4f81c3acc 100644 --- a/ACE/tests/Compiler_Features_36_Test.cpp +++ b/ACE/tests/Compiler_Features_36_Test.cpp @@ -5,14 +5,12 @@ #include "test_config.h" -#if defined (ACE_HAS_CPP11) - #include <type_traits> template <typename T> struct non_instantiatable { - typedef typename T::THIS_TYPE_CANNOT_BE_INSTANTIATED type; + using type = typename T::THIS_TYPE_CANNOT_BE_INSTANTIATED; }; int @@ -30,18 +28,3 @@ run_main (int, ACE_TCHAR *[]) return 0; } - -#else -int -run_main (int, ACE_TCHAR *[]) -{ - ACE_START_TEST (ACE_TEXT("Compiler_Features_36_Test")); - - ACE_DEBUG ((LM_INFO, - ACE_TEXT ("No C++11 support enabled\n"))); - - ACE_END_TEST; - return 0; -} - -#endif |