Add bool conversion operator to subscription_identifiers.

Reviewers: ivica

Reviewed By: ivica

Subscribers: korina

Differential Revision: https://repo.mireo.local/D27993
This commit is contained in:
Bruno Iljazovic
2024-02-19 11:04:31 +01:00
parent 03f37345b6
commit 38f2cb2496

View File

@ -54,6 +54,10 @@ public:
return !empty();
}
explicit operator bool() const noexcept {
return !empty();
}
int32_t& operator*() noexcept {
return front();
}