From 2c1ab045fb17b1f1dedb49a3af27eaaf945c7d6b Mon Sep 17 00:00:00 2001 From: Timo Koch Date: Tue, 14 Nov 2017 14:46:53 +0100 Subject: [PATCH] Deprecated unit component. Use Components::Constant component --- dumux/material/components/unit.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dumux/material/components/unit.hh b/dumux/material/components/unit.hh index b623fcd810..807653b608 100644 --- a/dumux/material/components/unit.hh +++ b/dumux/material/components/unit.hh @@ -24,6 +24,7 @@ #ifndef DUMUX_UNIT_HH #define DUMUX_UNIT_HH +#include #include "component.hh" namespace Dumux @@ -36,7 +37,8 @@ namespace Dumux * \tparam Scalar The type used for scalar values */ template -class Unit : public Component > +class DUNE_DEPRECATED_MSG("Use Components::Constant instead. The default is a unit fluid system.") +Unit : public Component > { public: -- GitLab