COMP: corrected error introduced in commit 64fe671850

This commit is contained in:
andy
2010-11-03 09:36:02 +00:00
parent b7cf33058d
commit 1df7148dc1

View File

@ -72,6 +72,8 @@ bool Foam::IOobject::IOobject::fileNameComponents
return false;
}
string::size_type first = path.find('/');
if (first == string::npos)
{
// no '/' found - no instance or local