diff --git a/dumux/common/properties/propertysystem.hh b/dumux/common/properties/propertysystem.hh index 18386650859a3c0859574cf5de4f7f2af8ebcf28..2b334726b73e54d5149683bf1d06d075dc08186b 100644 --- a/dumux/common/properties/propertysystem.hh +++ b/dumux/common/properties/propertysystem.hh @@ -42,7 +42,7 @@ namespace Dumux::Properties::Detail { //! check if a property P is defined template<class P> constexpr auto isDefinedProperty(int) --> decltype(std::integral_constant<bool, !std::is_same<typename P::type, UndefinedProperty>::value>{}) +-> decltype(std::integral_constant<bool, !std::is_same_v<typename P::type, UndefinedProperty>>{}) { return {}; } //! fall back if a Property is defined