summaryrefslogtreecommitdiff
path: root/indra/llxml/llcontrol.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-12-12 09:59:50 -0800
committerMerov Linden <merov@lindenlab.com>2013-12-12 09:59:50 -0800
commit4745ab85dab9e418c49e5c4a722aa88548b8f39e (patch)
tree367001447fda9438c5beb03f2fb09bbe7e2b2abd /indra/llxml/llcontrol.h
parent6a89cb6f25adafdf07a4241e7bbe6fee758c1048 (diff)
parenta4f121f065c580ac34e8caa666855c95eb29138b (diff)
Pull merge from lindenlab/viewer-acme
Diffstat (limited to 'indra/llxml/llcontrol.h')
-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(); }