Commit 6685d948 authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/DE/VtkVis] Use vector::empty() instead comparing size to zero.

parent 1299ce29
......@@ -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;
}
......
Supports Markdown
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