From 47c5563e162a0079025ada599875b2b4f4681f68 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sat, 22 Jun 2024 18:58:22 +0200 Subject: [PATCH] refactor: deleted function not needed in `validated_type` --- example/include/validated_type.h | 1 - 1 file changed, 1 deletion(-) diff --git a/example/include/validated_type.h b/example/include/validated_type.h index 30722c50..f4df44b2 100644 --- a/example/include/validated_type.h +++ b/example/include/validated_type.h @@ -97,7 +97,6 @@ public: #endif - constexpr T& value() & noexcept = delete; [[nodiscard]] constexpr const T& value() const& noexcept { return value_; } [[nodiscard]] constexpr T&& value() && noexcept { return std::move(value_); } [[nodiscard]] constexpr const T&& value() const&& noexcept { return std::move(value_); }