Daniele Bartolini 10 ani în urmă
părinte
comite
30d8722d84

+ 0 - 2
src/compilers/compile_options.h

@@ -11,8 +11,6 @@
 namespace crown
 {
 
-typedef Array<char> Buffer;
-
 struct CompileOptions
 {
 	CompileOptions(Filesystem& fs, File* out, const char* platform)

+ 2 - 0
src/core/containers/container_types.h

@@ -44,6 +44,8 @@ struct Array
 	ALLOCATOR_AWARE;
 };
 
+typedef Array<char> Buffer;
+
 /// Dynamic array of objects.
 /// @note
 /// Calls constructors and destructors, not suitable for performance-critical stuff.

+ 0 - 1
src/core/json/json_parser.h

@@ -176,7 +176,6 @@ public:
 	/// Reads the JSON document from file @a f.
 	JSONParser(File& f);
 
-	typedef Array<char> Buffer;
 	JSONParser(Buffer& b);
 
 	~JSONParser();

+ 0 - 1
src/core/profiler.cpp

@@ -14,7 +14,6 @@ namespace crown
 {
 namespace profiler_globals
 {
-	typedef Array<char> Buffer;
 	char _mem[sizeof(Buffer)];
 	Buffer* _buffer = NULL;