From d20a24d10fd5da83b8b02e9f046dec07a760c863 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 3 May 2021 15:12:19 -0400 Subject: [PATCH] [ox/std] Switch String from Vector to Buffer --- deps/ox/src/ox/std/buffer.hpp | 1 + deps/ox/src/ox/std/string.hpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/buffer.hpp b/deps/ox/src/ox/std/buffer.hpp index 9462457a..ef32e2f4 100644 --- a/deps/ox/src/ox/std/buffer.hpp +++ b/deps/ox/src/ox/std/buffer.hpp @@ -8,6 +8,7 @@ #pragma once +#include "error.hpp" #include "vector.hpp" namespace ox { diff --git a/deps/ox/src/ox/std/string.hpp b/deps/ox/src/ox/std/string.hpp index d551bcf6..19a92c64 100644 --- a/deps/ox/src/ox/std/string.hpp +++ b/deps/ox/src/ox/std/string.hpp @@ -12,6 +12,7 @@ #include #endif +#include "buffer.hpp" #include "memops.hpp" #include "strops.hpp" #include "typetraits.hpp" @@ -21,7 +22,7 @@ namespace ox { class String { private: - Vector m_buff; + Buffer m_buff; public: String() noexcept;