From 8218cf650baac697a5038b86d92cb017d1a4f47d Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Sat, 6 Mar 2021 19:54:39 +0000 Subject: [PATCH] [propertysytem] Cleanup references to old macros --- dumux/common/properties/propertysystem.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dumux/common/properties/propertysystem.hh b/dumux/common/properties/propertysystem.hh index 3a802d363a..1838665085 100644 --- a/dumux/common/properties/propertysystem.hh +++ b/dumux/common/properties/propertysystem.hh @@ -136,7 +136,7 @@ struct GetPropImpl namespace Dumux { -//! get the type of a property (equivalent to old macro GET_PROP(...)) +//! get the type of a property template<class TypeTag, template<class,class> class Property> using GetProp = typename Properties::Detail::GetPropImpl<TypeTag, Property>::type; @@ -145,7 +145,7 @@ using GetProp = typename Properties::Detail::GetPropImpl<TypeTag, Property>::typ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif -//! get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(...)) +//! get the type alias defined in the property template<class TypeTag, template<class,class> class Property> using GetPropType = typename Properties::Detail::GetPropImpl<TypeTag, Property>::type::type; -- GitLab