Commit 9bfc06ed authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

COMP: remove const type qualifier from static_cast<char> - gcc 8.3

parent 4260b8bf
......@@ -122,7 +122,7 @@ Foam::Ostream& Foam::OBJstream::writeQuoted
}
OFstream::write(static_cast<const char>(token::BEGIN_STRING));
OFstream::write(static_cast<char>(token::BEGIN_STRING));
unsigned backslash = 0;
for (auto iter = str.cbegin(); iter != str.cend(); ++iter)
......@@ -156,7 +156,7 @@ Foam::Ostream& Foam::OBJstream::writeQuoted
// silently drop any trailing backslashes
// they would otherwise appear like an escaped end-quote
OFstream::write(static_cast<const char>(token::END_STRING));
OFstream::write(static_cast<char>(token::END_STRING));
return *this;
}
......
Markdown is supported
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