From d6bbd3fdef793b887728e00e5da857bc1732f97b Mon Sep 17 00:00:00 2001 From: Zhi Wang Date: Wed, 21 Sep 2022 06:54:11 -0500 Subject: [PATCH] warning: storage class is not first This pull request fixes the warning issued by `nvc++` (the C++ compiler in Nvidia HPC SDK/PGI), and is similar to pull request #1717. --- src/catch2/internal/catch_meta.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/catch2/internal/catch_meta.hpp b/src/catch2/internal/catch_meta.hpp index 7d573585..abb86ab5 100644 --- a/src/catch2/internal/catch_meta.hpp +++ b/src/catch2/internal/catch_meta.hpp @@ -17,9 +17,9 @@ namespace Catch { template struct true_given : std::true_type {}; struct is_callable_tester { template - true_given()(std::declval()...))> static test(int); + static true_given()(std::declval()...))> test(int); template - std::false_type static test(...); + static std::false_type test(...); }; template