masterUncollatedFileOperation: Renamed filePath to avoid conflict with virtual function

Avoids warning from clang
This commit is contained in:
Henry Weller
2017-07-07 14:09:18 +01:00
parent 7c301dbff4
commit 58ebb37b9b
2 changed files with 19 additions and 5 deletions

View File

@ -90,7 +90,7 @@ Foam::fileOperations::masterUncollatedFileOperation::findInstancePath
}
Foam::fileName Foam::fileOperations::masterUncollatedFileOperation::filePath
Foam::fileName Foam::fileOperations::masterUncollatedFileOperation::filePathInfo
(
const bool checkGlobal,
const bool isFile,
@ -707,7 +707,14 @@ Foam::fileName Foam::fileOperations::masterUncollatedFileOperation::filePath
word newInstancePath;
if (Pstream::master())
{
objPath = filePath(checkGlobal, true, io, searchType, newInstancePath);
objPath = filePathInfo
(
checkGlobal,
true,
io,
searchType,
newInstancePath
);
}
{
label masterType(searchType);
@ -777,7 +784,14 @@ Foam::fileName Foam::fileOperations::masterUncollatedFileOperation::dirPath
word newInstancePath;
if (Pstream::master())
{
objPath = filePath(checkGlobal, false, io, searchType, newInstancePath);
objPath = filePathInfo
(
checkGlobal,
false,
io,
searchType,
newInstancePath
);
}
{
label masterType(searchType);

View File

@ -366,10 +366,10 @@ protected:
const instant& t
);
//- Search for object; return info on how was found
//- Search for object; return info on how it was found
// checkGlobal : also check undecomposed case
// isFile : true:check for file false:check for directory
fileName filePath
fileName filePathInfo
(
const bool checkGlobal,
const bool isFile,