Skip to content

Commit

Permalink
Fix windows no right-hand operand
Browse files Browse the repository at this point in the history
Signed-off-by: Eugenio Collado <[email protected]>
  • Loading branch information
EugenioCollado committed Dec 31, 2024
1 parent 85807da commit 7a10ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddsrecorder_participants/src/cpp/common/time_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ utils::Timestamp to_std_timestamp(
throw std::runtime_error("Failed to parse fractional part as an integer");
}

time_point += std::chrono::nanoseconds(nanoseconds);
time_point = time_point + std::chrono::nanoseconds(nanoseconds);

return time_point;
}
Expand Down

0 comments on commit 7a10ed7

Please sign in to comment.