mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
functionObjects: Corrected namespace for NamedEnum
Resolves bug-report https://bugs.openfoam.org/view.php?id=2901
This commit is contained in:
@ -41,18 +41,19 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace functionObjects
|
||||
{
|
||||
defineTypeNameAndDebug(streamLine, 0);
|
||||
addToRunTimeSelectionTable(functionObject, streamLine, dictionary);
|
||||
|
||||
template<>
|
||||
const char* NamedEnum<streamLine::trackDirection, 3>::names[] =
|
||||
const char*
|
||||
NamedEnum<functionObjects::streamLine::trackDirection, 3>::names[] =
|
||||
{"forward", "backward", "both"};
|
||||
|
||||
const NamedEnum<streamLine::trackDirection, 3>
|
||||
streamLine::trackDirectionNames_;
|
||||
}
|
||||
namespace functionObjects
|
||||
{
|
||||
defineTypeNameAndDebug(streamLine, 0);
|
||||
addToRunTimeSelectionTable(functionObject, streamLine, dictionary);
|
||||
|
||||
const NamedEnum<streamLine::trackDirection, 3>
|
||||
streamLine::trackDirectionNames_;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user