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 committed 2024-02-19 12:03:00 +01:00
1 parent 03f37345b6
commit 38f2cb2496
1 file changed
+4
+4
View File
@@ -54,6 +54,10 @@ public:
return !empty();
}
explicit operator bool() const noexcept {
return !empty();
}
int32_t& operator*() noexcept {
return front();
}