summaryrefslogtreecommitdiff
path: root/indra/llxml
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2013-10-04 02:50:50 +0300
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2013-10-04 02:50:50 +0300
commit63cc379c72e3f30a6e45c4b81c5a2e7078be0f1e (patch)
tree0ffb0e9963d15dab7574dbf77c1b7cdd132262b0 /indra/llxml
parenta0a196996509025ffa14d3d6252fb77da5e3170d (diff)
MAINT-3270 FIXED crash in LLControlCache<unsigned int>::LLControlCache: Control named RenderAutoMuteFunctionsnot found
Diffstat (limited to 'indra/llxml')
-rwxr-xr-xindra/llxml/llcontrol.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/llxml/llcontrol.h b/indra/llxml/llcontrol.h
index e1f9be80dd..f46d21408b 100755
--- a/indra/llxml/llcontrol.h
+++ b/indra/llxml/llcontrol.h
@@ -408,16 +408,6 @@ public:
}
}
- LLCachedControl(LLControlGroup& group,
- const std::string& name)
- {
- mCachedControlPtr = LLControlCache<T>::getInstance(name);
- if (mCachedControlPtr.isNull())
- {
- mCachedControlPtr = new LLControlCache<T>(group, name);
- }
- }
-
operator const T&() const { return mCachedControlPtr->getValue(); }
operator boost::function<const T&()> () const { return boost::function<const T&()>(*this); }
const T& operator()() { return mCachedControlPtr->getValue(); }