changeset 2897:fed0c2112985

C++: Fix a GCC and Clang warning in that last commit.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 23 Dec 2022 06:29:48 +0000
parents d91aaffca1fc
children d53fee198085
files dw.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw.hpp	Fri Dec 23 04:22:44 2022 +0000
+++ b/dw.hpp	Fri Dec 23 06:29:48 2022 +0000
@@ -16,7 +16,7 @@
 #endif
 
 // Support Lambdas on C++11, Visual C 2010 or GCC 4.5
-#ifdef DW_CPP11 || (defined(_MSC_VER) && _MSC_VER >= 1600) || \
+#if defined(DW_CPP11) || (defined(_MSC_VER) && _MSC_VER >= 1600) || \
     (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4)))
 #define DW_LAMBDA
 #include <functional>