mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
Everywhere: Use AK_MAKE_DEFAULT_MOVABLE to avoid mistakes
This commit is contained in:
parent
2ebd79bc76
commit
0184fc5e43
4 changed files with 14 additions and 22 deletions
|
@ -202,11 +202,9 @@ constexpr double const middle_c = note_frequencies[36];
|
|||
struct Signal : public Variant<FixedArray<Sample>, RollNotes> {
|
||||
using Variant::Variant;
|
||||
AK_MAKE_NONCOPYABLE(Signal);
|
||||
AK_MAKE_DEFAULT_MOVABLE(Signal);
|
||||
|
||||
public:
|
||||
Signal& operator=(Signal&&) = default;
|
||||
Signal(Signal&&) = default;
|
||||
|
||||
ALWAYS_INLINE SignalType type() const
|
||||
{
|
||||
if (has<FixedArray<Sample>>())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue