diff options
Diffstat (limited to 'src/global-coords.hpp')
-rw-r--r-- | src/global-coords.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/global-coords.hpp b/src/global-coords.hpp index 81ed1a70..3e9ac983 100644 --- a/src/global-coords.hpp +++ b/src/global-coords.hpp @@ -33,8 +33,8 @@ struct chunk_coords_ final { explicit constexpr operator chunk_coords() const noexcept { return {x, y}; } constexpr chunk_coords_() noexcept = default; - constexpr chunk_coords_(int16_t x, int16_t y, int8_t z = 0) noexcept : x{x}, y{y}, z{z} {} - constexpr chunk_coords_(chunk_coords c, int8_t z = 0) noexcept : x{c.x}, y{c.y}, z{z} {} + constexpr chunk_coords_(int16_t x, int16_t y, int8_t z) noexcept : x{x}, y{y}, z{z} {} + constexpr chunk_coords_(chunk_coords c, int8_t z) noexcept : x{c.x}, y{c.y}, z{z} {} constexpr bool operator==(const chunk_coords_&) const noexcept = default; }; |