Skip to content
Snippets Groups Projects
Commit b45e05c0 authored by namark's avatar namark
Browse files

Work around gcc 7 warning.

parent 54c70c33
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment