mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
AK: Decorate Optional<T> with [[nodisard]]
This commit is contained in:
parent
9572c95152
commit
a7a7e6245f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
|||
namespace AK {
|
||||
|
||||
template<typename T>
|
||||
class alignas(T) Optional {
|
||||
class alignas(T) [[nodiscard]] Optional {
|
||||
public:
|
||||
Optional() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue