Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
peci1 committed Nov 2, 2024
2 parents b492043 + d8ce690 commit eca2d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cras_cpp_common/src/string_utils/ros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ template<> ros::Time parseTime(
const auto minute = cras::parseUInt16(matches[5].str(), 10);
const auto second = cras::parseUInt16(matches[6].str(), 10);
const auto zoneOffset = matches[8].matched ?
cras::parseTimezoneOffset(matches[8].str()) : timezoneOffset.value_or(ros::Duration::ZERO);
cras::parseTimezoneOffset(matches[8].str()) : timezoneOffset.value_or(ros::Duration{});

tm t{};
t.tm_year = year - 1900;
Expand Down

0 comments on commit eca2d60

Please sign in to comment.