Skip to content
Snippets Groups Projects
Commit d2f71a81 authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/DE] If _coords vec. is empty the size is zero.

parent 681f1f84
No related branches found
No related tags found
No related merge requests found
......@@ -346,10 +346,7 @@ void DiagramList::setList(std::vector<std::pair<float, float>> const& coords)
std::size_t DiagramList::size() const
{
if (!(_coords.empty()))
return _coords.size();
return 0;
return _coords.size();
}
void DiagramList::update()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment