Commit 045ac809 authored by Timo Koch's avatar Timo Koch
Browse files

[propertysystem] Use convenience alias is_same_v

parent 8218cf65
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment