diff --git a/test/main.cpp b/test/main.cpp index 8800d0d..cbb7fc3 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -54,22 +54,10 @@ Distributed under the Boost Software License, Version 1.0. retcode = 1; \ } -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" -template struct is_literal_type -{ - static constexpr bool value = std::is_literal_type::value; -}; -#pragma GCC diagnostic pop -#elif defined(_MSC_VER) template struct is_literal_type { static constexpr bool value = __is_literal_type(T); }; -#else -#error "Don't know how to implement is_literal_type" -#endif // An error coding with multiple success values enum class Code : size_t @@ -744,4 +732,4 @@ int main() printf("\nExiting tests with code %d\n", retcode); return retcode; -} \ No newline at end of file +}