From 5e2f6876442ae673fe7e6d64d01f73e564368a79 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 7 Jul 2026 01:33:08 +0200 Subject: [PATCH] expose reset_clock() function to allow running multiple simulations in the same process --- include/simulator/chrono.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/simulator/chrono.hpp b/include/simulator/chrono.hpp index 90b3ef9..c84c338 100644 --- a/include/simulator/chrono.hpp +++ b/include/simulator/chrono.hpp @@ -78,8 +78,7 @@ namespace sim { namespace chrono static void fast_forward(high_resolution_clock::duration d); }; - // private interface - void reset_clock(); + SIMULATOR_DECL void reset_clock(); } // chrono } // sim