1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

AK: Use AK_MAKE_DEFAULT_MOVABLE to avoid mistakes in default impls

This commit is contained in:
Ben Wiederhake 2023-06-16 16:03:16 +02:00 committed by Sam Atkins
parent 3d3dfc8da8
commit 041f5e931d
3 changed files with 4 additions and 16 deletions

View file

@ -36,6 +36,8 @@ public:
}
SourceGenerator(SourceGenerator&&) = default;
// Move-assign is undefinable due to 'StringBuilder& m_builder;'
SourceGenerator& operator=(SourceGenerator&&) = delete;
ErrorOr<SourceGenerator> fork()
{