mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
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:
parent
8263e0a619
commit
b15b51f9da
1 changed files with 3 additions and 3 deletions
|
@ -15,15 +15,15 @@ class Badge {
|
|||
public:
|
||||
using Type = T;
|
||||
|
||||
Badge(Badge&&) = default;
|
||||
Badge& operator=(Badge&&) = default;
|
||||
|
||||
private:
|
||||
friend T;
|
||||
constexpr Badge() = default;
|
||||
|
||||
Badge(Badge const&) = delete;
|
||||
Badge& operator=(Badge const&) = delete;
|
||||
|
||||
Badge(Badge&&) = delete;
|
||||
Badge& operator=(Badge&&) = delete;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue