mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -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:
|
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;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue