BUILDFIX fix for gcc build

meow-7.2.2
Richard Linden 2013-03-21 17:26:43 -07:00
parent 1f507c3cfc
commit 0c63f95b9e
3 changed files with 9 additions and 2 deletions

View File

@ -116,5 +116,5 @@ F32 LLSmoothInterpolation::getInterpolant(LLUnit<LLUnits::Seconds, F32> time_con
//-----------------------------------------------------------------------------
F32 LLSmoothInterpolation::calcInterpolant(F32 time_constant)
{
return llclamp(1.f - pow(2.f, -sTimeDelta / time_constant), 0.f, 1.f);
return llclamp(1.f - powf(2.f, -sTimeDelta / time_constant), 0.f, 1.f);
}

View File

@ -32,6 +32,9 @@
LLFloaterSceneLoadStats::LLFloaterSceneLoadStats( const LLSD& key )
: LLFloater(key)
{
{}
BOOL LLFloaterSceneLoadStats::postBuild()
{
return TRUE;
}

View File

@ -34,6 +34,10 @@ class LLFloaterSceneLoadStats : public LLFloater
friend class LLFloaterReg;
private:
LLFloaterSceneLoadStats(const LLSD& key);
public:
BOOL postBuild();
};
#endif // LL_FLOATERSCENELOADSTATS_H