From 71d8fa55ab671ae152c420738b2d9d49f8f1106d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 5 Mar 2024 21:04:20 +0100 Subject: clean up timer & nanosecond includes --- test/serializer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/serializer.cpp') 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 namespace floormat { @@ -53,7 +53,7 @@ chunk& test_app::make_test_chunk(world& w, chunk_coords_ ch) auto& e = *w.make_object(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(e.subtype); fm_assert(!x.active); -- cgit v1.2.3