STYLE: avoid spaces around fileName::operator/ except when split across lines

This commit is contained in:
Mark Olesen
2010-02-18 10:51:56 +01:00
parent a3fec987a8
commit 78e41f78bd
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd. \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -69,7 +69,7 @@ int main()
word name; word name;
fileName path(SubList<word>(wrdList, wrdList.size()-start, start)); fileName path(SubList<word>(wrdList, wrdList.size()-start, start));
fileName path2 = "." / path; fileName path2 = "."/path;
IOobject::fileNameComponents IOobject::fileNameComponents
( (

View File

@ -440,7 +440,7 @@ int main(int argc, char *argv[])
( (
databases[procI].findInstance databases[procI].findInstance
( (
regionDir / polyMesh::meshSubDir, regionDir/polyMesh::meshSubDir,
"points" "points"
) )
); );
@ -469,10 +469,10 @@ int main(int argc, char *argv[])
"points", "points",
databases[procI].findInstance databases[procI].findInstance
( (
regionDir / polyMesh::meshSubDir, regionDir/polyMesh::meshSubDir,
"points" "points"
), ),
regionDir / polyMesh::meshSubDir, regionDir/polyMesh::meshSubDir,
databases[procI], databases[procI],
IOobject::MUST_READ, IOobject::MUST_READ,
IOobject::NO_WRITE, IOobject::NO_WRITE,