sparse set: avoid warning due to missing [[nodiscard]]

This commit is contained in:
skypjack
2025-05-27 08:58:23 +02:00
parent 7064415265
commit 330bf8e120
+1 -1
View File
@@ -1087,7 +1087,7 @@ public:
}
/*! @copydoc info */
[[deprecated("use ::info instead")]] const type_info &type() const noexcept {
[[deprecated("use ::info instead")]] [[nodiscard]] const type_info &type() const noexcept {
return info();
}