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