Commit 5f8d9aae authored by Jupp Tscheak's avatar Jupp Tscheak
Browse files

Minor fix in function "SecondsToTime" with regard to target type using "Time".

Signed-off-by: Jupp Tscheak's avatarJupp Tscheak <>
parent d26d8282
......@@ -28,7 +28,7 @@ using Time = units::time::millisecond_t;
template <typename T>
inline Time SecondsToTime(T duration)
return units::convert<units::time::seconds, units::time::milliseconds>(duration);
return units::convert<units::time::seconds, Time>(duration);
/// @brief Converts input @ref Time to [s].
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment