AK: Don't delete Badge move constructor

Otherwise it is impossible to use Badge as an argument of a coroutine.
This commit is contained in:
Dan Klishch 2024-02-19 22:21:39 -05:00 committed by Ali Mohammad Pur
parent 8263e0a619
commit b15b51f9da

View file

@ -15,15 +15,15 @@ class Badge {
public: public:
using Type = T; using Type = T;
Badge(Badge&&) = default;
Badge& operator=(Badge&&) = default;
private: private:
friend T; friend T;
constexpr Badge() = default; constexpr Badge() = default;
Badge(Badge const&) = delete; Badge(Badge const&) = delete;
Badge& operator=(Badge const&) = delete; Badge& operator=(Badge const&) = delete;
Badge(Badge&&) = delete;
Badge& operator=(Badge&&) = delete;
}; };
} }