[ox/std] Switch String from Vector<char> to Buffer
This commit is contained in:
parent
c1418cdd6c
commit
d20a24d10f
1
deps/ox/src/ox/std/buffer.hpp
vendored
1
deps/ox/src/ox/std/buffer.hpp
vendored
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "error.hpp"
|
||||||
#include "vector.hpp"
|
#include "vector.hpp"
|
||||||
|
|
||||||
namespace ox {
|
namespace ox {
|
||||||
|
3
deps/ox/src/ox/std/string.hpp
vendored
3
deps/ox/src/ox/std/string.hpp
vendored
@ -12,6 +12,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "buffer.hpp"
|
||||||
#include "memops.hpp"
|
#include "memops.hpp"
|
||||||
#include "strops.hpp"
|
#include "strops.hpp"
|
||||||
#include "typetraits.hpp"
|
#include "typetraits.hpp"
|
||||||
@ -21,7 +22,7 @@ namespace ox {
|
|||||||
|
|
||||||
class String {
|
class String {
|
||||||
private:
|
private:
|
||||||
Vector<char> m_buff;
|
Buffer m_buff;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
String() noexcept;
|
String() noexcept;
|
||||||
|
Loading…
Reference in New Issue
Block a user