mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 06:14:58 +00:00
Kernel: Use AK_MAKE_DEFAULT_MOVABLE to avoid mistakes in default impls
This commit is contained in:
parent
041f5e931d
commit
8ae60dd234
1 changed files with 1 additions and 2 deletions
|
@ -14,14 +14,13 @@ namespace Kernel {
|
|||
|
||||
class KBufferBuilder {
|
||||
AK_MAKE_NONCOPYABLE(KBufferBuilder);
|
||||
AK_MAKE_DEFAULT_MOVABLE(KBufferBuilder);
|
||||
|
||||
public:
|
||||
using OutputType = KBuffer;
|
||||
|
||||
static ErrorOr<KBufferBuilder> try_create();
|
||||
|
||||
KBufferBuilder(KBufferBuilder&&) = default;
|
||||
KBufferBuilder& operator=(KBufferBuilder&&) = default;
|
||||
~KBufferBuilder() = default;
|
||||
|
||||
ErrorOr<void> append(StringView);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue