group: [[nodiscard]] as it should be

This commit is contained in:
Michele Caini
2024-05-20 13:21:31 +02:00
parent f7fd153ee0
commit 2cb44f2590

View File

@@ -224,11 +224,11 @@ public:
common_setup();
}
common_type &handle() noexcept {
[[nodiscard]] common_type &handle() noexcept {
return elem;
}
const common_type &handle() const noexcept {
[[nodiscard]] const common_type &handle() const noexcept {
return elem;
}