aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/xml_things_handle.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 09:21:59 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 18:54:47 +0100
commit34700872057c99c57416612fbc264c48cfd38f9d (patch)
tree044975f3c70d18160b5a431f71fad75dbe16af88 /paludis/repositories/e/xml_things_handle.hh
parent801afbbaf5570b96b4717147b3d7f6ff93454c8d (diff)
downloadpaludis-34700872057c99c57416612fbc264c48cfd38f9d.tar.gz
paludis-34700872057c99c57416612fbc264c48cfd38f9d.tar.xz
Kill NonCopyable, make Singleton its own thing
Diffstat (limited to 'paludis/repositories/e/xml_things_handle.hh')
-rw-r--r--paludis/repositories/e/xml_things_handle.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/repositories/e/xml_things_handle.hh b/paludis/repositories/e/xml_things_handle.hh
index f77e461fd..3346590ee 100644
--- a/paludis/repositories/e/xml_things_handle.hh
+++ b/paludis/repositories/e/xml_things_handle.hh
@@ -23,7 +23,7 @@
#include <paludis/repositories/e/glsa.hh>
#include <paludis/repositories/e/metadata_xml.hh>
#include <paludis/util/private_implementation_pattern.hh>
-#include <paludis/util/instantiation_policy.hh>
+#include <paludis/util/singleton.hh>
#include <paludis/util/fs_entry-fwd.hh>
namespace paludis
@@ -32,9 +32,9 @@ namespace paludis
{
class PALUDIS_VISIBLE XMLThingsHandle :
private PrivateImplementationPattern<XMLThingsHandle>,
- public InstantiationPolicy<XMLThingsHandle, instantiation_method::SingletonTag>
+ public Singleton<XMLThingsHandle>
{
- friend class InstantiationPolicy<XMLThingsHandle, instantiation_method::SingletonTag>;
+ friend class Singleton<XMLThingsHandle>;
private:
XMLThingsHandle();
@@ -52,7 +52,7 @@ namespace paludis
}
extern template class PrivateImplementationPattern<erepository::XMLThingsHandle>;
- extern template class InstantiationPolicy<erepository::XMLThingsHandle, instantiation_method::SingletonTag>;
+ extern template class Singleton<erepository::XMLThingsHandle>;
}
#endif