Improve CompositeTagsHandler::done()

This commit is contained in:
rr-
2016-02-25 10:03:58 +01:00
parent 221c314625
commit e5e7952b89

View File

@ -31,10 +31,10 @@ bool CompositeTagsHandler::edit(const int streamno, Tags &tags)
bool CompositeTagsHandler::done()
{
bool done = true;
for (const auto &handler : handlers)
done &= handler->done();
return done;
if (!handler->done())
return false;
return true;
}
const std::vector<std::shared_ptr<ITagsHandler>>