Fix for Issue 109.

This commit is contained in:
Mikko Mononen
2010-08-23 17:44:27 +00:00
parent 47ba806fef
commit a16f0e3e5e
7 changed files with 504 additions and 2634 deletions

View File

@@ -157,7 +157,7 @@ void BuildContext::resetBuildTimes()
m_buildTime[i] = -1;
}
void BuildContext::reportBuildTime(const rcBuilTimeLabel label, const int time)
void BuildContext::reportBuildTime(const rcBuildTimeLabel label, const int time)
{
const int idx = (int)label;
// The build times are initialized to negative to indicate no samples collected.
@@ -167,7 +167,7 @@ void BuildContext::reportBuildTime(const rcBuilTimeLabel label, const int time)
m_buildTime[idx] += time;
}
int BuildContext::getBuildTime(const rcBuilTimeLabel label)
int BuildContext::getBuildTime(const rcBuildTimeLabel label)
{
return m_buildTime[label];
}