summaryrefslogtreecommitdiff
path: root/AK/ByteBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/ByteBuffer.h')
-rw-r--r--AK/ByteBuffer.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/AK/ByteBuffer.h b/AK/ByteBuffer.h
index 51227e0b71..3147d90534 100644
--- a/AK/ByteBuffer.h
+++ b/AK/ByteBuffer.h
@@ -2,9 +2,7 @@
#include "Buffer.h"
#include "Types.h"
-#include <cstdlib>
-#include <cstring>
-#include <cstdio>
+#include "StdLib.h"
namespace AK {
@@ -17,13 +15,13 @@ public:
{
}
ByteBuffer(ByteBuffer&& other)
- : m_impl(std::move(other.m_impl))
+ : m_impl(move(other.m_impl))
{
}
ByteBuffer& operator=(ByteBuffer&& other)
{
if (this != &other)
- m_impl = std::move(other.m_impl);
+ m_impl = move(other.m_impl);
return *this;
}
@@ -73,7 +71,7 @@ public:
private:
explicit ByteBuffer(RetainPtr<Buffer<byte>>&& impl)
- : m_impl(std::move(impl))
+ : m_impl(move(impl))
{
}