Skip to content
Snippets Groups Projects
Commit 04e41564 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: remove IOobject template specialization (gcc)

parent 13352861
Branches
Tags
No related merge requests found
......@@ -656,21 +656,6 @@ public:
template<class Type>
void warnNoRereading() const;
//- Read header (localFilePath only) with optional searching
template<>
bool typeHeaderOk<void>
(
//! ignored for \c void
const bool checkType,
const bool search,
//! ignored for \c void
const bool verbose
);
//- Call localFilePath for \c void type
template<>
fileName typeFilePath<void>(const bool search) const;
// Writing
......
......@@ -272,37 +272,4 @@ bool Foam::IOobject::readAndCheckHeader
}
// * * * * * * * * * * * * Template Specializations * * * * * * * * * * * * //
namespace Foam
{
template<>
bool IOobject::typeHeaderOk<void>
(
const bool checkType,
const bool search,
const bool verbose
)
{
return readAndCheckHeader
(
false, // global = false
word::null,
false, // checkType = false (not meaningful)
search,
false // verbose = false (not meaningful)
);
}
template<>
fileName IOobject::typeFilePath<void>(const bool search) const
{
return this->localFilePath(word::null, search);
}
} // End namespace Foam
// ************************************************************************* //
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment