From 6944f24118eee8135f2465bed4f728fe1445f723 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Dec 2023 18:26:38 +0100 Subject: a --- src/wall-atlas.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/wall-atlas.cpp b/src/wall-atlas.cpp index 71f20b40..568aee83 100644 --- a/src/wall-atlas.cpp +++ b/src/wall-atlas.cpp @@ -61,10 +61,9 @@ wall_atlas::wall_atlas(wall_atlas_def def, String path, const ImageView2D& img) _image_size{get_image_size(img)}, _direction_map{def.direction_map} { - fm_soft_assert(!_frame_array.empty()); - { const auto frame_count = _frame_array.size(); + fm_soft_assert(frame_count > 0); bool found = false; for (auto [dir_name, dir] : wall_atlas::directions) { -- cgit v1.2.3