COMP: specialization Foam::NamedEnum templates within namespace Foam

- otherwise gets flagged as an error by clang
This commit is contained in:
Mark Olesen
2010-10-12 12:17:13 +02:00
parent 05fe5f2f97
commit 95219e6f76
24 changed files with 272 additions and 255 deletions

View File

@ -49,18 +49,20 @@ namespace Foam
distributedTriSurfaceMesh,
dict
);
template<>
const char* Foam::NamedEnum
<
Foam::distributedTriSurfaceMesh::distributionType,
3
>::names[] =
{
"follow",
"independent",
"frozen"
};
}
template<>
const char*
Foam::NamedEnum<Foam::distributedTriSurfaceMesh::distributionType, 3>::names[] =
{
"follow",
"independent",
"frozen"
};
const Foam::NamedEnum<Foam::distributedTriSurfaceMesh::distributionType, 3>
Foam::distributedTriSurfaceMesh::distributionTypeNames_;