From 168d9d38fdfbc5332ecdbc292984c900f6c17120 Mon Sep 17 00:00:00 2001 From: Vasily Date: Wed, 23 Jan 2019 22:33:00 +0100 Subject: [PATCH] Remove C++17 testing code Featured C++17 features to make sure compilers would be able to handle future C++17 features. --- src/main.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 70ecddd..cbc85c6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -348,15 +348,6 @@ int main( int argc, char* argv[] ) { setUpLogging( argc, argv ); - // Initializers in if statements is a C++17 feature. Should be removed after - // making sure CI works with this. - if ( constexpr int i = 2; i > 10 ) - { - // static_assert with no message is a C++17 feature. Should be removed - // after making sure CI works with this. - static_assert( i < 5 ); - } - const bool desktopMode = argument::CheckCommandLineArgument( argc, argv, argument::kDesktopMode ); const bool noSound