AK: Fixed a typo in NeverDestroyed.h (#1228)

This commit is contained in:
Kaif Mavani 2020-02-16 16:32:18 +08:00 committed by GitHub
parent 7a8be7f777
commit fa21c7e8bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: sideshowbarker 2024-07-19 09:16:53 +09:00

View file

@ -48,7 +48,7 @@ public:
const T* operator->() const { return &get(); }
T& operator*() { return get(); }
const T* operator*() const { return get(); }
const T& operator*() const { return get(); }
T& get() { return reinterpret_cast<T&>(storage); }
const T& get() const { return reinterpret_cast<T&>(storage); }