diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-18 19:25:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-18 19:25:07 +0200 |
commit | fd3afbced5410639325e730d5710b8b5039b320e (patch) | |
tree | 72e7059aa256706062b9ce2cd9ec5b0df76f5ede /src/script/cpp_api | |
parent | c42753338924bb29c61081c9f269772f89bcd808 (diff) | |
download | minetest-fd3afbced5410639325e730d5710b8b5039b320e.tar.gz minetest-fd3afbced5410639325e730d5710b8b5039b320e.tar.bz2 minetest-fd3afbced5410639325e730d5710b8b5039b320e.zip |
Optimize headers (part 2) (#6272)
* Optimize headers (part 2)
* less debug.h in headers
* less remoteplayer.h for everybody
* Cleanup (part 2)
* camera.h: mesh.h
* mapgen.h: mapnode.h
* serverenvironment.h: mapblock.h
* nodedef.h: shader.h
Diffstat (limited to 'src/script/cpp_api')
-rw-r--r-- | src/script/cpp_api/s_async.h | 1 | ||||
-rw-r--r-- | src/script/cpp_api/s_internal.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/script/cpp_api/s_async.h b/src/script/cpp_api/s_async.h index 01c3ad005..38eb4800a 100644 --- a/src/script/cpp_api/s_async.h +++ b/src/script/cpp_api/s_async.h @@ -25,7 +25,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "threading/semaphore.h" #include "threading/thread.h" -#include "debug.h" #include "lua.h" #include "cpp_api/s_base.h" diff --git a/src/script/cpp_api/s_internal.h b/src/script/cpp_api/s_internal.h index fc049f922..83b3b9d27 100644 --- a/src/script/cpp_api/s_internal.h +++ b/src/script/cpp_api/s_internal.h @@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "threading/mutex_auto_lock.h" #ifdef SCRIPTAPI_LOCK_DEBUG -#include "debug.h" // assert() +#include <cassert> class LockChecker { public: |