瀏覽代碼

[DLScript] removed STL imports

Karroffel 8 年之前
父節點
當前提交
71a99d5517

+ 0 - 4
modules/dlscript/godot.cpp

@@ -28,15 +28,11 @@
 /*************************************************************************/
 #include "godot.h"
 
-#include <cstdlib>
-
 #include "class_db.h"
 #include "dl_script.h"
 #include "global_config.h"
 #include "variant.h"
 
-#include <memory.h>
-
 #ifdef __cplusplus
 extern "C" {
 #endif

+ 0 - 2
modules/dlscript/godot/godot_node_path.cpp

@@ -2,8 +2,6 @@
 
 #include "path_db.h"
 
-#include <memory.h> // why is there no <cmemory> btw?
-
 #ifdef __cplusplus
 extern "C" {
 #endif

+ 0 - 2
modules/dlscript/godot/godot_quat.cpp

@@ -2,8 +2,6 @@
 
 #include "math/quat.h"
 
-#include <memory.h> // why is there no <cmemory> btw?
-
 #ifdef __cplusplus
 extern "C" {
 #endif

+ 1 - 1
modules/dlscript/godot/godot_string.cpp

@@ -3,7 +3,7 @@
 #include "string_db.h"
 #include "ustring.h"
 
-#include <memory.h> // why is there no <cmemory> btw?
+#include <memory.h>
 
 #ifdef __cplusplus
 extern "C" {

+ 0 - 2
modules/dlscript/godot/godot_transform.cpp

@@ -2,8 +2,6 @@
 
 #include "math/transform.h"
 
-#include <memory.h> // why is there no <cmemory> btw?
-
 #ifdef __cplusplus
 extern "C" {
 #endif