Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-vtk
Commits
8ab8293f
Commit
8ab8293f
authored
Dec 17, 2020
by
Praetorius, Simon
Browse files
Remove semicolon after if condition
parent
4988a659
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/vtk/vtkreader.hh
View file @
8ab8293f
...
@@ -139,7 +139,7 @@ namespace Dune
...
@@ -139,7 +139,7 @@ namespace Dune
std
::
vector
<
DataArrayAttributes
>
attributes
;
std
::
vector
<
DataArrayAttributes
>
attributes
;
attributes
.
reserve
(
pointData_
.
size
());
attributes
.
reserve
(
pointData_
.
size
());
for
(
auto
const
&
da
:
dataArray_
)
{
for
(
auto
const
&
da
:
dataArray_
)
{
if
(
da
.
second
.
section
==
POINT_DATA
)
;
if
(
da
.
second
.
section
==
POINT_DATA
)
attributes
.
push_back
(
da
.
second
);
attributes
.
push_back
(
da
.
second
);
}
}
return
attributes
;
return
attributes
;
...
@@ -166,7 +166,7 @@ namespace Dune
...
@@ -166,7 +166,7 @@ namespace Dune
std
::
vector
<
DataArrayAttributes
>
attributes
;
std
::
vector
<
DataArrayAttributes
>
attributes
;
attributes
.
reserve
(
cellData_
.
size
());
attributes
.
reserve
(
cellData_
.
size
());
for
(
auto
const
&
da
:
dataArray_
)
{
for
(
auto
const
&
da
:
dataArray_
)
{
if
(
da
.
second
.
section
==
CELL_DATA
)
;
if
(
da
.
second
.
section
==
CELL_DATA
)
attributes
.
push_back
(
da
.
second
);
attributes
.
push_back
(
da
.
second
);
}
}
return
attributes
;
return
attributes
;
...
...
Write
Preview
Supports
Markdown
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