From 99735764ea773ce7426688d503499e72f58d739a Mon Sep 17 00:00:00 2001 From: Justin Riddell Date: Tue, 16 Apr 2024 21:29:30 +0100 Subject: [PATCH] Fix FMT_USE_NONTYPE_TEMPLATE_ARGS define back (#3937) Broken in refactor f1924d3 --- include/fmt/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index 50249f2cd4cb..26d7da2bfe30 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -141,7 +141,7 @@ import std; #elif defined(__NVCOMPILER) # define FMT_USE_NONTYPE_TEMPLATE_ARGS 0 #elif FMT_GCC_VERSION >= 903 && FMT_CPLUSPLUS >= 201709L -# define FMT_USE_NONTYPE_TEMPLATE_ARGS 0 +# define FMT_USE_NONTYPE_TEMPLATE_ARGS 1 #elif defined(__cpp_nontype_template_args) && \ __cpp_nontype_template_args >= 201911L # define FMT_USE_NONTYPE_TEMPLATE_ARGS 1