mirror of
https://github.com/fmang/opustags.git
synced 2025-07-13 04:25:26 +02:00
Improve CompositeTagsHandler::done()
This commit is contained in:
@ -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>>
|
||||
|
Reference in New Issue
Block a user