Skip to content
Snippets Groups Projects
Commit 1df7148d authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: corrected error introduced in commit 64fe6718

parent b7cf3305
No related merge requests found
...@@ -72,6 +72,8 @@ bool Foam::IOobject::IOobject::fileNameComponents ...@@ -72,6 +72,8 @@ bool Foam::IOobject::IOobject::fileNameComponents
return false; return false;
} }
string::size_type first = path.find('/');
if (first == string::npos) if (first == string::npos)
{ {
// no '/' found - no instance or local // no '/' found - no instance or local
......
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