diff --git a/src/ll/api/base/Alias.h b/src/ll/api/base/Alias.h index c7e1cd6d34..19f539a8d8 100644 --- a/src/ll/api/base/Alias.h +++ b/src/ll/api/base/Alias.h @@ -73,10 +73,8 @@ struct TypedStorageImpl { [[nodiscard]] T const& operator*() const& { return get(); } [[nodiscard]] T&& operator*() && { return std::move(get()); } [[nodiscard]] T const&& operator*() const&& { return std::move(get()); } - [[nodiscard]] operator T&() & { return get(); } - [[nodiscard]] operator T const&() const& { return get(); } - [[nodiscard]] operator T&&() && { return std::move(get()); } - [[nodiscard]] operator T const&&() const&& { return std::move(get()); } + [[nodiscard]] operator T&() { return get(); } + [[nodiscard]] operator T const&() const { return get(); } }; template