diff --git a/src/v2i-hub/CDASimAdapter/src/CDASimAdapter.cpp b/src/v2i-hub/CDASimAdapter/src/CDASimAdapter.cpp index 141809fa2..1986bb608 100644 --- a/src/v2i-hub/CDASimAdapter/src/CDASimAdapter.cpp +++ b/src/v2i-hub/CDASimAdapter/src/CDASimAdapter.cpp @@ -81,7 +81,7 @@ 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.count() << ", where msgs: " << msg << std::endl; + PLOG(logDEBUG1) << "Simulation Time: " << msg.get_timestep() << " where current system time is: " << milliseconds.count() << ", where msgs: " << msg << std::endl; this->BroadcastMessage(msg, _name, 0 , IvpMsgFlags_None);