Reduce unnecessary include in serialize.h

This commit is contained in:
sfan5 2024-03-16 15:07:18 +01:00
parent 673d2499e8
commit d1a1aed23e
6 changed files with 6 additions and 2 deletions

View File

@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "nodetimer.h"
#include "inventory.h"
#include "log.h"
#include "debug.h"
#include "serialization.h"
#include "util/serialize.h"
#include "util/string.h"

View File

@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "inventory.h"
#include "irrlicht_changes/printing.h"
#include "log.h"
#include "debug.h"
#include "util/serialize.h"
#include "constants.h" // MAP_BLOCKSIZE
#include <sstream>

View File

@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlicht_changes/printing.h"
#include "irrlichttypes_bloated.h"
#include "exceptions.h"
#include "log.h"
#include "util/serialize.h"
#include <sstream>

View File

@ -25,6 +25,7 @@ extern "C" {
#include "util/numeric.h"
#include "util/serialize.h"
#include "util/string.h"
#include "log.h"
#include "common/c_converter.h"
#include "common/c_internal.h"
#include "constants.h"

View File

@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
*/
#include "serialization.h"
#include "log.h"
#include "util/serialize.h"
#include <zlib.h>

View File

@ -21,7 +21,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlichttypes_bloated.h"
#include "exceptions.h" // for SerializationError
#include "debug.h" // for assert
#include "ieee_float.h"
#include "config.h"
@ -39,6 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#endif
#endif
#include <cstring> // for memcpy
#include <cassert>
#include <iostream>
#include <string>
#include <string_view>