From ae0a2cab53b88faa4f5fd135f18bbbe1e1223113 Mon Sep 17 00:00:00 2001 From: Markus Werle Date: Thu, 7 May 2020 23:01:04 +0200 Subject: [PATCH] narrow this capture to C++20 --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 1dbf0994..9fd795be 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -172,7 +172,7 @@ FMT_END_NAMESPACE # define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n) #endif -#if (__cplusplus >= 201703L) +#if (__cplusplus > 201703L) # define FMT_CAPTURE_OF_THIS , this #else # define FMT_CAPTURE_OF_THIS