diff --git a/indra/llcommon/llcriticaldamp.cpp b/indra/llcommon/llcriticaldamp.cpp index 59a31bf9dfde90c90dbb2973c115410cc82d047a..e47ab3564124a0cb22c41118a43bd7188f6389ce 100644 --- a/indra/llcommon/llcriticaldamp.cpp +++ b/indra/llcommon/llcriticaldamp.cpp @@ -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); } diff --git a/indra/newview/llfloatersceneloadstats.cpp b/indra/newview/llfloatersceneloadstats.cpp index 95e8fbf4dda15d6e96b28329ca903a27d2726a18..8aa93eae96c0f6daa4b076474fed44ff77018552 100644 --- a/indra/newview/llfloatersceneloadstats.cpp +++ b/indra/newview/llfloatersceneloadstats.cpp @@ -32,6 +32,9 @@ LLFloaterSceneLoadStats::LLFloaterSceneLoadStats( const LLSD& key ) : LLFloater(key) -{ +{} +BOOL LLFloaterSceneLoadStats::postBuild() +{ + return TRUE; } diff --git a/indra/newview/llfloatersceneloadstats.h b/indra/newview/llfloatersceneloadstats.h index 095541f2f6a0c874f4e5ae5ba254133b36110d93..aa414bf5448165447226d7318f5cfa22184fd829 100644 --- a/indra/newview/llfloatersceneloadstats.h +++ b/indra/newview/llfloatersceneloadstats.h @@ -34,6 +34,10 @@ class LLFloaterSceneLoadStats : public LLFloater friend class LLFloaterReg; private: LLFloaterSceneLoadStats(const LLSD& key); + +public: + BOOL postBuild(); + }; #endif // LL_FLOATERSCENELOADSTATS_H