Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Remove obsolete C++14 define

There is no reason to have code conditional on C++14, because C++14
is the minimum supported language standard for v3.
Commit
4570fca24b2fd04f82f2376b090abfa5dde965c3
Author
Martin Hořeňovský ·
Parents
0787132fc82a

Files · Download .tar.gz

Changes

 src/catch2/internal/catch_compiler_capabilities.hpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/catch2/internal/catch_compiler_capabilities.hpp b/src/catch2/internal/catch_compiler_capabilities.hpp
index fc76937c..7f09da51 100644
--- a/src/catch2/internal/catch_compiler_capabilities.hpp
+++ b/src/catch2/internal/catch_compiler_capabilities.hpp
@@ -29,10 +29,6 @@
 
 #ifdef __cplusplus
 
-#  if (__cplusplus >= 201402L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201402L)
-#    define CATCH_CPP14_OR_GREATER
-#  endif
-
 #  if (__cplusplus >= 201703L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
 #    define CATCH_CPP17_OR_GREATER
 #  endif