diff --git a/common/tier4_autoware_utils/include/tier4_autoware_utils/ros/published_time_publisher.hpp b/common/tier4_autoware_utils/include/tier4_autoware_utils/ros/published_time_publisher.hpp index e8546e2db2b9f..8b5feed9d1ba5 100644 --- a/common/tier4_autoware_utils/include/tier4_autoware_utils/ros/published_time_publisher.hpp +++ b/common/tier4_autoware_utils/include/tier4_autoware_utils/ros/published_time_publisher.hpp @@ -91,7 +91,7 @@ class PublishedTimePublisher { bool operator()(const rmw_gid_t & lhs, const rmw_gid_t & rhs) const { - return std::memcmp(lhs.data, rhs.data, RMW_GID_STORAGE_SIZE) < 0; + return memcmp(lhs.data, rhs.data, RMW_GID_STORAGE_SIZE) < 0; } };