Skip to content
Snippets Groups Projects
Commit 0c63f95b authored by Richard Linden's avatar Richard Linden
Browse files

BUILDFIX fix for gcc build

parent 1f507c3c
No related branches found
No related tags found
No related merge requests found
...@@ -116,5 +116,5 @@ F32 LLSmoothInterpolation::getInterpolant(LLUnit<LLUnits::Seconds, F32> time_con ...@@ -116,5 +116,5 @@ F32 LLSmoothInterpolation::getInterpolant(LLUnit<LLUnits::Seconds, F32> time_con
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
F32 LLSmoothInterpolation::calcInterpolant(F32 time_constant) 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);
} }
...@@ -32,6 +32,9 @@ ...@@ -32,6 +32,9 @@
LLFloaterSceneLoadStats::LLFloaterSceneLoadStats( const LLSD& key ) LLFloaterSceneLoadStats::LLFloaterSceneLoadStats( const LLSD& key )
: LLFloater(key) : LLFloater(key)
{ {}
BOOL LLFloaterSceneLoadStats::postBuild()
{
return TRUE;
} }
...@@ -34,6 +34,10 @@ class LLFloaterSceneLoadStats : public LLFloater ...@@ -34,6 +34,10 @@ class LLFloaterSceneLoadStats : public LLFloater
friend class LLFloaterReg; friend class LLFloaterReg;
private: private:
LLFloaterSceneLoadStats(const LLSD& key); LLFloaterSceneLoadStats(const LLSD& key);
public:
BOOL postBuild();
}; };
#endif // LL_FLOATERSCENELOADSTATS_H #endif // LL_FLOATERSCENELOADSTATS_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment