Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
9bfc06ed
Commit
9bfc06ed
authored
Oct 22, 2019
by
Mark OLESEN
Committed by
Andrew Heather
Oct 22, 2019
Browse files
COMP: remove const type qualifier from static_cast<char> - gcc 8.3
parent
4260b8bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/surfMesh/surfaceFormats/obj/OBJstream.C
View file @
9bfc06ed
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment