STYLE: use fileName::expand() instead of stringOps::inplaceExpand

- do not need the stringOps version if there is no dictionary context
This commit is contained in:
Mark Olesen
2018-06-23 16:40:51 +02:00
parent eed1e99378
commit 3d22c5c265

View File

@ -28,7 +28,6 @@ License
#include "fvMesh.H" #include "fvMesh.H"
#include "runTimePostProcessing.H" #include "runTimePostProcessing.H"
#include "addToRunTimeSelectionTable.H" #include "addToRunTimeSelectionTable.H"
#include "stringOps.H"
// VTK includes // VTK includes
#include "vtkActor.h" #include "vtkActor.h"
@ -130,7 +129,7 @@ addGeometryToScene
} }
stringOps::inplaceExpand(inputFileName_); inputFileName_.expand();
if (inputFileName_.empty()) if (inputFileName_.empty())
{ {
WarningInFunction WarningInFunction