From 48a3312b1f97bea656f7cdd87f1d631130149b7f Mon Sep 17 00:00:00 2001 From: Misheel Bayartsengel Date: Thu, 21 Mar 2024 12:58:37 -0400 Subject: [PATCH] fix compliation error --- src/v2i-hub/CDASimAdapter/src/CDASimAdapter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/v2i-hub/CDASimAdapter/src/CDASimAdapter.cpp b/src/v2i-hub/CDASimAdapter/src/CDASimAdapter.cpp index 4569ffca7..a108996fa 100644 --- a/src/v2i-hub/CDASimAdapter/src/CDASimAdapter.cpp +++ b/src/v2i-hub/CDASimAdapter/src/CDASimAdapter.cpp @@ -78,7 +78,9 @@ namespace CDASimAdapter{ auto time_now = std::chrono::system_clock::now(); auto epoch = time_now.time_since_epoch(); auto milliseconds = std::chrono::duration_cast(epoch); - PLOG(logDEBUG1) << "Simulation Time: " << msg.timestep << " where current system time is: " << milliseconds << ", where msgs: " << msg << std::endl; + PLOG(logDEBUG1) << "Simulation Time: " << msg.timestep << " where current system time is: " << milliseconds.count() << ", where msgs: " << msg << std::endl; + + this->BroadcastMessage(msg, _name, 0 , IvpMsgFlags_None); }