diff --git a/include/mementar/API/mementar/ActionsPublisher.h b/include/mementar/API/mementar/ActionsPublisher.h index 503b09a..55a9d80 100644 --- a/include/mementar/API/mementar/ActionsPublisher.h +++ b/include/mementar/API/mementar/ActionsPublisher.h @@ -12,10 +12,10 @@ namespace mementar { public: explicit ActionsPublisher(const std::string& name = ""); - void insert(const std::string& name, time_t start_stamp = time(nullptr), time_t end_stamp = 0); + void insert(const std::string& name, time_t start_stamp, time_t end_stamp = 0); void insert(const std::string& name, const compat::mem_ros::Time& start_stamp = compat::mem_ros::Node::get().currentTime(), const compat::mem_ros::Time& end_stamp = compat::mem_ros::Time(0)); - void insertEnd(const std::string& name, time_t end_stamp = time(nullptr)); + void insertEnd(const std::string& name, time_t end_stamp); void insertEnd(const std::string& name, const compat::mem_ros::Time& end_stamp = compat::mem_ros::Node::get().currentTime()); /// @brief Register a callback function to get notifications from the feeder.