ERR: Use of std::ios::fmtflags is not portable to older compilers.

This commit is contained in:
Brad King 2003-02-15 22:36:06 -05:00
parent a02574158d
commit caa074e8b5
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ void cmDocumentation::PrintUsageSection(std::ostream& os,
const cmDocumentationEntry* section)
{
if(!section) { return; }
std::ios::fmtflags flags = os.flags();
long flags = static_cast<long>(os.flags());
os.setf(flags | std::ios::left);
for(const cmDocumentationEntry* op = section; op->brief; ++op)
{