mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: upgrade from NamedEnum to Enum (issue #515)
This commit is contained in:
@ -37,7 +37,7 @@ SourceFiles
|
||||
|
||||
#include "dictionary.H"
|
||||
#include "Tuple2.H"
|
||||
#include "NamedEnum.H"
|
||||
#include "Enum.H"
|
||||
#include "vector.H"
|
||||
#include "HashPtrTable.H"
|
||||
#include "Function1.H"
|
||||
@ -78,7 +78,7 @@ public:
|
||||
cbField
|
||||
};
|
||||
|
||||
static const NamedEnum<colourByType, 2> colourByTypeNames;
|
||||
static const Enum<colourByType> colourByTypeNames;
|
||||
|
||||
enum colourMapType
|
||||
{
|
||||
@ -88,7 +88,7 @@ public:
|
||||
cmGreyscale
|
||||
};
|
||||
|
||||
static const NamedEnum<colourMapType, 4> colourMapTypeNames;
|
||||
static const Enum<colourMapType> colourMapTypeNames;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user