CmdStop: Cleanup

This commit is contained in:
Paul Beckingham 2016-07-24 14:34:57 -04:00
parent 396135e062
commit d75c5fc46a

View file

@ -74,7 +74,7 @@ int CmdStop (
// If tags are specified, but are not a full set of tags, remove them // If tags are specified, but are not a full set of tags, remove them
// before closing the interval. // before closing the interval.
if (filter.tags ().size () && if (filter.tags ().size () &&
(setIntersect (filter.tags (), latest.tags ()).size () != latest.tags ().size ())) setIntersect (filter.tags (), latest.tags ()).size () != latest.tags ().size ())
{ {
for (auto& tag : filter.tags ()) for (auto& tag : filter.tags ())
if (modified.hasTag (tag)) if (modified.hasTag (tag))