mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
AK: Use AK_MAKE_DEFAULT_MOVABLE to avoid mistakes in default impls
This commit is contained in:
parent
3d3dfc8da8
commit
041f5e931d
Notes:
sideshowbarker
2024-07-17 04:34:25 +09:00
Author: https://github.com/BenWiederhake
Commit: 041f5e931d
Pull-request: https://github.com/SerenityOS/serenity/pull/19422
3 changed files with 4 additions and 16 deletions
|
@ -36,6 +36,8 @@ public:
|
|||
}
|
||||
|
||||
SourceGenerator(SourceGenerator&&) = default;
|
||||
// Move-assign is undefinable due to 'StringBuilder& m_builder;'
|
||||
SourceGenerator& operator=(SourceGenerator&&) = delete;
|
||||
|
||||
ErrorOr<SourceGenerator> fork()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue