Random: Declare member function specializations within the Foam namespace

Required for gcc-4.8.5
This commit is contained in:
Henry Weller
2018-06-11 14:21:58 +01:00
parent 50cb3059c9
commit 61363e74c6

View File

@ -143,6 +143,23 @@ public:
scalar globalScalar01();
};
template<>
inline scalar Random::sample01();
template<>
inline label Random::sample01();
template<>
inline scalar Random::sampleAB(const scalar& a, const scalar& b);
template<>
inline label Random::sampleAB(const label& a, const label& b);
template<>
inline scalar Random::sampleNormal();
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam