Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ogs
ogs
Commits
6685d948
Commit
6685d948
authored
Apr 21, 2022
by
Tom Fischer
Browse files
[A/DE/VtkVis] Use vector::empty() instead comparing size to zero.
parent
1299ce29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Applications/DataExplorer/VtkVis/VtkSurfacesSource.cpp
View file @
6685d948
...
...
@@ -65,8 +65,7 @@ int VtkSurfacesSource::RequestData(vtkInformation* request,
(
void
)
request
;
(
void
)
inputVector
;
const
int
nSurfaces
=
_surfaces
->
size
();
if
(
nSurfaces
==
0
)
if
(
_surfaces
->
empty
())
{
return
0
;
}
...
...
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