diff options
author | brad kittenbrink <brad@lindenlab.com> | 2010-11-04 10:52:21 -0700 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2010-11-04 10:52:21 -0700 |
commit | d594744d49732fd235694bde41f09cf578fccaf1 (patch) | |
tree | c68a88aa09f061f1a04b70fae516fb00a4b9b860 /indra/newview/tests/llviewerhelputil_test.cpp | |
parent | 65997a1f5bb05dd263063606c00e0633af282784 (diff) |
Turned inlining on in windows builds (RelWithDebInfo and Release).
This reduces the number of symbols in the viewer binary by about 30%.
Also, fixed test errors revealed by inlining being enabled.
Diffstat (limited to 'indra/newview/tests/llviewerhelputil_test.cpp')
-rw-r--r-- | indra/newview/tests/llviewerhelputil_test.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/indra/newview/tests/llviewerhelputil_test.cpp b/indra/newview/tests/llviewerhelputil_test.cpp index a0f1d1c3c3..b425b50c8b 100644 --- a/indra/newview/tests/llviewerhelputil_test.cpp +++ b/indra/newview/tests/llviewerhelputil_test.cpp @@ -72,16 +72,13 @@ static void substitute_string(std::string &input, const std::string &search, con } } -class LLAgent -{ -public: - LLAgent() {} - ~LLAgent() {} -#ifdef __GNUC__ - __attribute__ ((noinline)) -#endif - bool isGodlike() const { return FALSE; } -}; +#include "../llagent.h" +LLAgent::LLAgent() : mAgentAccess(gSavedSettings) { } +LLAgent::~LLAgent() { } +bool LLAgent::isGodlike() const { return FALSE; } +LLAgentAccess::LLAgentAccess(LLControlGroup& settings) : mSavedSettings(settings) { } +LLUIColor::LLUIColor() {} + LLAgent gAgent; std::string LLWeb::expandURLSubstitutions(const std::string &url, |