diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-05 21:04:20 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-05 21:56:56 +0100 |
commit | 71d8fa55ab671ae152c420738b2d9d49f8f1106d (patch) | |
tree | a4ad0eb37840245622b99ee49c1d555ccb238b02 /test/serializer.cpp | |
parent | a56a8cc899dc90701f1690051da4e4318e95566c (diff) |
clean up timer & nanosecond includes
Diffstat (limited to 'test/serializer.cpp')
-rw-r--r-- | test/serializer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/serializer.cpp b/test/serializer.cpp index e85f7892..5179342c 100644 --- a/test/serializer.cpp +++ b/test/serializer.cpp @@ -7,7 +7,7 @@ #include "src/ground-atlas.hpp" #include "src/anim-atlas.hpp" #include "src/tile-iterator.hpp" -#include "src/timer.hpp" +#include "src/nanosecond.inl" #include <Corrade/Utility/Path.h> namespace floormat { @@ -53,7 +53,7 @@ chunk& test_app::make_test_chunk(world& w, chunk_coords_ ch) auto& e = *w.make_object<scenery>(w.make_id(), {ch, {K+3, K+1}}, door); const auto index = e.index(); const auto end = e.atlas->info().nframes-1; - constexpr Ns dt = Second / 60; + constexpr auto dt = Second / 60; fm_assert(e.frame == end); { auto& x = std::get<door_scenery>(e.subtype); fm_assert(!x.active); |