From 605cd8ef4aa1b9b73e9be5f1493ca60467a3568b Mon Sep 17 00:00:00 2001 From: Philip Top Date: Thu, 19 Dec 2019 10:52:03 -0800 Subject: [PATCH] fix shadow and some undef warnings --- toml/traits.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toml/traits.hpp b/toml/traits.hpp index 0064e37..a1c6144 100644 --- a/toml/traits.hpp +++ b/toml/traits.hpp @@ -209,7 +209,9 @@ struct is_container : conjunction< negation>, // not a map negation>, // not a std::string #if __cplusplus >= 201703L +#if __has_include() negation>, // not a std::string_view +#endif // has_include() #endif has_iterator, // has T::iterator has_value_type // has T::value_type