Skip to content

Commit

Permalink
Small refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
matt77hias committed Sep 13, 2018
1 parent df676e8 commit d954020
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions MAGE/Utilities/src/system/system_time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ namespace mage {
return {};
}

return { ConvertTimestamp(kernel_mode_ftime),
ConvertTimestamp(user_mode_ftime) };
return {
ConvertTimestamp(kernel_mode_ftime),
ConvertTimestamp(user_mode_ftime)
};
}

/**
Expand Down
6 changes: 4 additions & 2 deletions MAGE/Utilities/src/system/timer.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ namespace mage {
UpdateDeltaTime();
}

return { std::chrono::duration_cast<TimeIntervalSeconds>(m_delta_time),
std::chrono::duration_cast<TimeIntervalSeconds>(m_total_delta_time) };
return {
std::chrono::duration_cast< TimeIntervalSeconds >(m_delta_time),
std::chrono::duration_cast< TimeIntervalSeconds >(m_total_delta_time)
};
}

template< typename ClockT >
Expand Down

0 comments on commit d954020

Please sign in to comment.