From 85e2499fea15a3e455e9c28416aa865a0825cd2d Mon Sep 17 00:00:00 2001 From: raiqarasool Date: Tue, 7 May 2024 15:05:27 -0400 Subject: [PATCH] Restricted use of void_t to C++17 or later --- src/libraries/JANA/Utils/JTypeInfo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libraries/JANA/Utils/JTypeInfo.h b/src/libraries/JANA/Utils/JTypeInfo.h index 57a0c12f1..656978703 100644 --- a/src/libraries/JANA/Utils/JTypeInfo.h +++ b/src/libraries/JANA/Utils/JTypeInfo.h @@ -12,7 +12,7 @@ namespace JTypeInfo { - +#if __cplusplus >= 201703L template struct is_parseable : std::false_type {}; @@ -24,6 +24,7 @@ struct is_serializable : std::false_type {}; template struct is_serializable() << std::declval())>> : std::true_type {}; +#endif template