From 9b565aaf46bb9d0d6ee7599d67f44770392b57d6 Mon Sep 17 00:00:00 2001 From: Roman Degtyar Date: Sun, 18 Sep 2022 00:02:51 +0000 Subject: [PATCH] Fix compilation errors in build for Oracle Solaris OS --- include/yaml-cpp/traits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/yaml-cpp/traits.h b/include/yaml-cpp/traits.h index 9a62db2..ffe9999 100644 --- a/include/yaml-cpp/traits.h +++ b/include/yaml-cpp/traits.h @@ -107,9 +107,9 @@ struct disable_if : public disable_if_c {}; template struct is_streamable { - template + template static auto test(int) - -> decltype(std::declval() << std::declval(), std::true_type()); + -> decltype(std::declval() << std::declval(), std::true_type()); template static auto test(...) -> std::false_type;