STYLE: add deprecated message to NamedEnum constructor

- this class really should not be used at all anymore.
  Add a message so people recognize can find any occurrences.
This commit is contained in:
Mark Olesen
2019-01-10 14:49:18 +01:00
parent 8071020518
commit 00cbf5564b
2 changed files with 8 additions and 1 deletions

View File

@ -99,7 +99,8 @@ public:
// Constructors
//- Construct from names
NamedEnum();
NamedEnum()
FOAM_DEPRECATED_FOR(2017-05, "Enum instead of using NamedEnum");
// Member Functions