mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: specializations of templates within namespace Foam
- otherwise gets flagged as an error by clang
This commit is contained in:
@ -28,6 +28,8 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* const Foam::labelTensor::typeName = "labelTensor";
|
const char* const Foam::labelTensor::typeName = "labelTensor";
|
||||||
|
|
||||||
@ -54,6 +56,7 @@ const Foam::labelTensor Foam::labelTensor::one
|
|||||||
1, 1, 1,
|
1, 1, 1,
|
||||||
1, 1, 1
|
1, 1, 1
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -27,6 +27,8 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* const Foam::labelVector::typeName = "labelVector";
|
const char* const Foam::labelVector::typeName = "labelVector";
|
||||||
|
|
||||||
@ -38,6 +40,6 @@ const Foam::labelVector Foam::labelVector::zero(0, 0, 0);
|
|||||||
|
|
||||||
template<>
|
template<>
|
||||||
const Foam::labelVector Foam::labelVector::one(1, 1, 1);
|
const Foam::labelVector Foam::labelVector::one(1, 1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user