Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Nektar
Nektar
Commits
2c271a8e
Commit
2c271a8e
authored
Jul 05, 2017
by
Julian Marcon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change comment handling
parent
0bd8ae00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
library/NekMeshUtils/CADSystem/OCE/CADSystemOCE.cpp
library/NekMeshUtils/CADSystem/OCE/CADSystemOCE.cpp
+4
-6
No files found.
library/NekMeshUtils/CADSystem/OCE/CADSystemOCE.cpp
View file @
2c271a8e
...
...
@@ -423,11 +423,10 @@ TopoDS_Shape CADSystemOCE::BuildGeo(string geo)
getline
(
f
,
fline
);
boost
::
erase_all
(
fline
,
"
\r
"
);
if
(
boost
::
starts_with
(
fline
,
"//"
))
{
continue
;
}
vector
<
string
>
tmp1
,
tmp2
;
boost
::
split
(
tmp1
,
fline
,
boost
::
is_any_of
(
"//"
));
fline
=
tmp1
[
0
];
if
(
!
boost
::
contains
(
fline
,
";"
))
{
...
...
@@ -438,7 +437,6 @@ TopoDS_Shape CADSystemOCE::BuildGeo(string geo)
fline
=
flinetmp
+
fline
;
flinetmp
.
clear
();
vector
<
string
>
tmp1
,
tmp2
;
boost
::
split
(
tmp1
,
fline
,
boost
::
is_any_of
(
"="
));
boost
::
split
(
tmp2
,
tmp1
[
0
],
boost
::
is_any_of
(
"("
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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