diff options
Diffstat (limited to 'indra/llxml/llcontrol.h')
-rwxr-xr-x | indra/llxml/llcontrol.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/llxml/llcontrol.h b/indra/llxml/llcontrol.h index 6c780ecbcc..8a8479f90f 100755 --- a/indra/llxml/llcontrol.h +++ b/indra/llxml/llcontrol.h @@ -406,16 +406,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(); } |