Mark some functions as const

This commit is contained in:
Lioncash committed 2014-12-07 17:08:13 -05:00
1 parent f7baec317c
commit a962bc5a6c
14 files changed
+34 -34

No files matched your search

+2 -2
View File
@@ -93,7 +93,7 @@ void Timer::Update()
// -------------------------------------
// Get the number of milliseconds since the last Update()
u64 Timer::GetTimeDifference()
u64 Timer::GetTimeDifference() const
{
return GetTimeMs() - m_LastTime;
}
@@ -112,7 +112,7 @@ void Timer::WindBackStartingTime(u64 WindBack)
}
// Get the time elapsed since the Start()
u64 Timer::GetTimeElapsed()
u64 Timer::GetTimeElapsed() const
{
// If we have not started yet, return 1 (because then I don't
// have to change the FPS calculation in CoreRerecording.cpp .