STYLE: fix stray use of argList option() instead of []
This commit is contained in:
parent
166f62f19d
commit
c51ee22101
@ -1599,7 +1599,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
else if (useCellZonesFile)
|
||||
{
|
||||
const word zoneFile = args.option("cellZonesFileOnly");
|
||||
const word zoneFile(args["cellZonesFileOnly"]);
|
||||
Info<< "Reading split from cellZones file " << zoneFile << endl
|
||||
<< "This requires all"
|
||||
<< " cells to be in one and only one cellZone." << nl << endl;
|
||||
|
@ -181,7 +181,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (args.optionFound("featureFile"))
|
||||
{
|
||||
const fileName featureFileName(args.option("featureFile"));
|
||||
const fileName featureFileName(args["featureFile"]);
|
||||
Info<< "Reading features from " << featureFileName << " ..." << endl;
|
||||
|
||||
edgeMesh feMesh(featureFileName);
|
||||
|
@ -341,7 +341,6 @@ public:
|
||||
inline const string& operator[](const label index) const;
|
||||
|
||||
//- Return the argument string associated with the named option
|
||||
// \sa option()
|
||||
inline const string& operator[](const word& opt) const;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user