From b45e05c0d3a9cc6e04b0c0c20f0e16f8ae843fd0 Mon Sep 17 00:00:00 2001 From: n_n_n_n <namark@disroot.org> Date: Fri, 30 Apr 2021 20:38:37 +0400 Subject: [PATCH] Work around gcc 7 warning. --- source/simple/support/tuple_utils/meta_bind.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/simple/support/tuple_utils/meta_bind.hpp b/source/simple/support/tuple_utils/meta_bind.hpp index bcc1af0..6fe7a5d 100644 --- a/source/simple/support/tuple_utils/meta_bind.hpp +++ b/source/simple/support/tuple_utils/meta_bind.hpp @@ -52,7 +52,7 @@ namespace simple::support struct has_meta_binding : std::false_type {}; template <typename T> struct has_meta_binding<T, - decltype(std::is_object_v<typename T::binding>, nullptr)> + decltype(void(std::is_object_v<typename T::binding>), nullptr)> : std::true_type {}; template <typename T> constexpr auto has_meta_binding_v = has_meta_binding<T>::value; -- GitLab