From fd3afbced5410639325e730d5710b8b5039b320e Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Fri, 18 Aug 2017 19:25:07 +0200 Subject: 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 --- src/script/cpp_api/s_async.h | 1 - src/script/cpp_api/s_internal.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/script/cpp_api') 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 class LockChecker { public: -- cgit v1.2.3