summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-02 17:56:25 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-02 19:01:42 +0100
commit6acc882ac6e3cacc3d538e810df9c8e6998f9432 (patch)
treeb25a5d3167d72ea85b3972e0ae06a20b388145b4 /serialize
parent6086952ec2917c1cf9d520c2d4c9546ec2666da9 (diff)
whitespace
Diffstat (limited to 'serialize')
-rw-r--r--serialize/world-writer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/serialize/world-writer.cpp b/serialize/world-writer.cpp
index 5ff0a39c..0ca84e7b 100644
--- a/serialize/world-writer.cpp
+++ b/serialize/world-writer.cpp
@@ -16,11 +16,11 @@
#include <Corrade/Containers/StringView.h>
#include <Corrade/Utility/Path.h>
-namespace {
-
using namespace floormat;
using namespace floormat::Serialize;
+namespace {
+
struct interned_atlas final {
const tile_atlas* img;
atlasid index;
@@ -70,7 +70,7 @@ private:
constexpr auto tile_size = sizeof(tilemeta) + (sizeof(atlasid) + sizeof(variant_t)) * 3 + sizeof(scenery);
constexpr auto chunkbuf_size =
- sizeof(chunk_magic) + sizeof(chunk_coords) + tile_size * TILE_COUNT;
+ sizeof(chunk_magic) + sizeof(chunk_coords) + tile_size * TILE_COUNT;
#ifdef __GNUG__
#pragma GCC diagnostic push