We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87cee28 commit 679173bCopy full SHA for 679173b
rmw_connextdds_common/src/common/rmw_impl.cpp
@@ -285,7 +285,7 @@ dds_duration_to_rmw_time(const DDS_Duration_t & duration)
285
if (DDS_Duration_is_infinite(&duration)) {
286
return RMW_DURATION_INFINITE;
287
}
288
- assert(duration.sec > 0);
+ assert(duration.sec >= 0);
289
rmw_time_t result = {static_cast<uint64_t>(duration.sec), duration.nanosec};
290
return result;
291
0 commit comments