Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
...@@ -122,7 +122,7 @@ Foam::Ostream& Foam::OBJstream::writeQuoted ...@@ -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; unsigned backslash = 0;
for (auto iter = str.cbegin(); iter != str.cend(); ++iter) for (auto iter = str.cbegin(); iter != str.cend(); ++iter)
...@@ -156,7 +156,7 @@ Foam::Ostream& Foam::OBJstream::writeQuoted ...@@ -156,7 +156,7 @@ Foam::Ostream& Foam::OBJstream::writeQuoted
// silently drop any trailing backslashes // silently drop any trailing backslashes
// they would otherwise appear like an escaped end-quote // 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; return *this;
} }
......
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