summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-09-01 18:29:17 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-09-01 18:29:17 -0400
commit3a2383dc0dc33ccbcddd63e3c0083cedb39f0dcd (patch)
tree7cd7cef085a002885a362337fc8b67060bfcc395 /indra/llinventory
parent31d3d654f156351e3cf29f97fd97cbda046ae650 (diff)
parent959edebeca3c1d9f0730292c2f3bc0e8bb5bf94a (diff)
Automated merge with file:///Users/nat/linden/viewer-comment-lllog
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/lleconomy.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/llinventory/lleconomy.h b/indra/llinventory/lleconomy.h
index 47fcf688a2..83836b7ce1 100644
--- a/indra/llinventory/lleconomy.h
+++ b/indra/llinventory/lleconomy.h
@@ -42,19 +42,12 @@ public:
virtual void onEconomyDataChange() = 0;
};
-class LLGlobalEconomy
+class LLGlobalEconomy: public LLSingleton<LLGlobalEconomy>
{
public:
LLGlobalEconomy();
virtual ~LLGlobalEconomy();
- // This class defines its singleton internally as a typedef instead of inheriting from
- // LLSingleton like most others because the LLRegionEconomy sub-class might also
- // become a singleton and this pattern will more easily disambiguate them.
- typedef LLSingleton<LLGlobalEconomy> Singleton;
-
- void initSingleton() { }
-
virtual void print();
void addObserver(LLEconomyObserver* observer);