diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-12 23:52:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-13 10:15:22 +0100 |
commit | ddf93e2c09481609c4f5fe4ab6750379146379cc (patch) | |
tree | 710634f16535e4ff09a3242428e18ef8b7af0a6b /svl | |
parent | ByteString->rtl::OStringBuffer (diff) | |
download | core-ddf93e2c09481609c4f5fe4ab6750379146379cc.tar.gz core-ddf93e2c09481609c4f5fe4ab6750379146379cc.zip |
try better template friend class syntax
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/svldata.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/svl/inc/svl/svldata.hxx b/svl/inc/svl/svldata.hxx index b51a36822084..bfafb848b99c 100644 --- a/svl/inc/svl/svldata.hxx +++ b/svl/inc/svl/svldata.hxx @@ -45,11 +45,10 @@ public: // further request for any other language supply the resmgr of the first call. // For the simple resmgr we have a mgr for each language ever requested). -public: - ImpSvlData(): - pStoringPool(0), m_pThreadsafeRMs(NULL) - {} - +private: + /// Can only construct via singleton + template<typename T, typename Unique> friend class rtl::Static; + ImpSvlData() : pStoringPool(0), m_pThreadsafeRMs(NULL) {} ~ImpSvlData(); public: |