Commit 391afe78 authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

STYLE: report read/write options as integers (see fb594013)

parent 4d215d8e
......@@ -39,8 +39,8 @@ Foam::Ostream& Foam::operator<<(Ostream& os, const InfoProxy<IOobject>& ip)
<< io.type() << token::SPACE
<< io.name()
<< " local: " << io.local()
<< " readOpt: " << static_cast<char>(io.readOpt())
<< " writeOpt: " << static_cast<char>(io.writeOpt())
<< " readOpt: " << static_cast<int>(io.readOpt())
<< " writeOpt: " << static_cast<int>(io.writeOpt())
<< " globalObject: " << io.globalObject()
<< token::SPACE << io.path() << endl;
......
......@@ -487,7 +487,7 @@ bool Foam::objectRegistry::writeObject
<< name() << " : Considering writing object "
<< iter.key()
<< " of type " << iter->type()
<< " with writeOpt " << static_cast<char>(iter->writeOpt())
<< " with writeOpt " << static_cast<int>(iter->writeOpt())
<< " to file " << iter->objectPath()
<< endl;
}
......
Supports Markdown
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