1
0
cuberite-2a/src/WorldStorage
peterbell10 a4dbb5c582
Prefer static_cast to reinterpret_cast (#4223)
* Change reinterpret_cast -> static_cast wherever possible
* Remove more unnecessary `const_cast`s.

reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
2018-05-02 08:50:36 +01:00
..
CMakeLists.txt Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
EnchantmentSerializer.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
EnchantmentSerializer.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
FastNBT.cpp Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
FastNBT.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
FireworksSerializer.cpp Removed UTF-8 BOM (#4033) 2017-09-19 10:34:08 +02:00
FireworksSerializer.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
MapSerializer.cpp Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
MapSerializer.h CheckBasicStyle: checks spaces around * and &. 2015-05-09 12:58:55 +02:00
NBTChunkSerializer.cpp Prefer static_cast to reinterpret_cast (#4223) 2018-05-02 08:50:36 +01:00
NBTChunkSerializer.h Removed UTF-8 BOM (#4033) 2017-09-19 10:34:08 +02:00
SchematicFileSerializer.cpp cBlockArea: use unique_ptr 2017-09-11 23:20:12 +02:00
SchematicFileSerializer.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ScoreboardSerializer.cpp Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
ScoreboardSerializer.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00
StatSerializer.cpp Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
StatSerializer.h Switched player statistic store to save with UUID filenames. (#4002) 2017-09-07 11:57:12 +02:00
WorldStorage.cpp cWorld Threads: Seperate initialization and thread start. 2017-10-21 19:33:22 +02:00
WorldStorage.h cWorld Threads: Seperate initialization and thread start. 2017-10-21 19:33:22 +02:00
WSSAnvil.cpp Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
WSSAnvil.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00