ENH: Preempt commit conflict.

This commit is contained in:
graham
2010-07-23 13:19:20 +01:00
parent 7af7032861
commit 7e5a3aa529

View File

@ -78,9 +78,18 @@ Foam::featureEdgeMesh::featureEdgeMesh(const IOobject& io)
if if
( (
io.readOpt() == IOobject::MUST_READ io.readOpt() == IOobject::MUST_READ
|| io.readOpt() == IOobject::MUST_READ_IF_MODIFIED
|| (io.readOpt() == IOobject::READ_IF_PRESENT && headerOk()) || (io.readOpt() == IOobject::READ_IF_PRESENT && headerOk())
) )
{ {
if (readOpt() == IOobject::MUST_READ_IF_MODIFIED)
{
WarningIn("featureEdgeMesh::featureEdgeMesh(const IOobject&)")
<< "Specified IOobject::MUST_READ_IF_MODIFIED but class"
<< " does not support automatic rereading."
<< endl;
}
dictionary edgeMeshDict(readStream(typeName)); dictionary edgeMeshDict(readStream(typeName));
edgeMesh::operator= edgeMesh::operator=