summaryrefslogtreecommitdiffhomepage
path: root/src/wall-atlas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wall-atlas.cpp')
-rw-r--r--src/wall-atlas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wall-atlas.cpp b/src/wall-atlas.cpp
index d82aace3..8ea687e4 100644
--- a/src/wall-atlas.cpp
+++ b/src/wall-atlas.cpp
@@ -95,10 +95,10 @@ Vector2ui wall_atlas::expected_size(unsigned depth, Group_ group)
case side:
case corner:
return { depth, size.z() };
- default:
- std::unreachable();
- fm_assert(false);
+ case COUNT:
+ break;
}
+ fm_assert(false);
}
wall_atlas::wall_atlas(wall_atlas_def def, String path, const ImageView2D& img)