diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-16 16:45:18 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-16 16:45:18 +0200 |
| commit | 54a90fdfe41abfefca1a4e28969c6e4eff93bd83 (patch) | |
| tree | 6d47de3466c4bd7ac5423d5f53247847e28bb124 /main | |
| parent | fa2b1ab5fbfb5ce6d9380278dabe2ebab2ab8179 (diff) | |
src/world: remove weak_bptr usage
Diffstat (limited to 'main')
| -rw-r--r-- | main/ctor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/ctor.cpp b/main/ctor.cpp index 3508b7cd..73658a07 100644 --- a/main/ctor.cpp +++ b/main/ctor.cpp @@ -33,7 +33,7 @@ class world& main_impl::reset_world(class world&& w) noexcept for (auto& [_, cʹ] : _world.chunks()) for (const auto& eʹ : cʹ.objects()) - fm_assert(eʹ.use_count() == 1); + fm_assert_equal(uint32_t{2}, eʹ.use_count()); _world = move(w); _first_frame = true; |
