mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +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 {
|
class KBufferBuilder {
|
||||||
AK_MAKE_NONCOPYABLE(KBufferBuilder);
|
AK_MAKE_NONCOPYABLE(KBufferBuilder);
|
||||||
|
AK_MAKE_DEFAULT_MOVABLE(KBufferBuilder);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using OutputType = KBuffer;
|
using OutputType = KBuffer;
|
||||||
|
|
||||||
static ErrorOr<KBufferBuilder> try_create();
|
static ErrorOr<KBufferBuilder> try_create();
|
||||||
|
|
||||||
KBufferBuilder(KBufferBuilder&&) = default;
|
|
||||||
KBufferBuilder& operator=(KBufferBuilder&&) = default;
|
|
||||||
~KBufferBuilder() = default;
|
~KBufferBuilder() = default;
|
||||||
|
|
||||||
ErrorOr<void> append(StringView);
|
ErrorOr<void> append(StringView);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue