ERR: Use of std::ios::fmtflags is not portable to older compilers.
This commit is contained in:
parent
a02574158d
commit
caa074e8b5
|
@ -229,7 +229,7 @@ void cmDocumentation::PrintUsageSection(std::ostream& os,
|
||||||
const cmDocumentationEntry* section)
|
const cmDocumentationEntry* section)
|
||||||
{
|
{
|
||||||
if(!section) { return; }
|
if(!section) { return; }
|
||||||
std::ios::fmtflags flags = os.flags();
|
long flags = static_cast<long>(os.flags());
|
||||||
os.setf(flags | std::ios::left);
|
os.setf(flags | std::ios::left);
|
||||||
for(const cmDocumentationEntry* op = section; op->brief; ++op)
|
for(const cmDocumentationEntry* op = section; op->brief; ++op)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue