diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-10-17 10:55:43 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-10-17 10:57:23 +0200 |
commit | 9171521752b0b382f1f70453b4f24915999144b9 (patch) | |
tree | a3bb1e3533e591c4693ce98b245870e4da5daede /AK/String.h | |
parent | aec8ab0a606a1ccb3eaf5816ef85e3951c2d5227 (diff) | |
download | serenity-9171521752b0b382f1f70453b4f24915999144b9.zip |
Integrate ext2 from VFS into Kernel.
Diffstat (limited to 'AK/String.h')
-rw-r--r-- | AK/String.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/AK/String.h b/AK/String.h index bb18494986..4def06f2e6 100644 --- a/AK/String.h +++ b/AK/String.h @@ -5,7 +5,7 @@ #include "StringImpl.h" #include "Traits.h" #include "Vector.h" -#include <cstdio> +#include "kstdio.h" namespace AK { @@ -20,7 +20,7 @@ public: } String(String&& other) - : m_impl(std::move(other.m_impl)) + : m_impl(move(other.m_impl)) { } @@ -40,7 +40,7 @@ public: } String(RetainPtr<StringImpl>&& impl) - : m_impl(std::move(impl)) + : m_impl(move(impl)) { } @@ -77,7 +77,7 @@ public: String& operator=(String&& other) { if (this != &other) { - m_impl = std::move(other.m_impl); + m_impl = move(other.m_impl); } return *this; } @@ -91,7 +91,7 @@ private: template<> struct Traits<String> { static unsigned hash(const String& s) { return s.impl() ? s.impl()->hash() : 0; } - static void dump(const String& s) { printf("%s", s.characters()); } + static void dump(const String& s) { kprintf("%s", s.characters()); } }; } |