aboutsummaryrefslogtreecommitdiff
path: root/paludis/package_id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/package_id.cc')
-rw-r--r--paludis/package_id.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/paludis/package_id.cc b/paludis/package_id.cc
index 02f85d58a..f5aa6439b 100644
--- a/paludis/package_id.cc
+++ b/paludis/package_id.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007 Ciaran McCreesh
+ * Copyright (c) 2007, 2008 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -45,6 +45,8 @@ using namespace paludis;
template class Sequence<tr1::shared_ptr<const PackageID> >;
template class WrappedForwardIterator<Sequence<tr1::shared_ptr<const PackageID> >::ConstIteratorTag,
const tr1::shared_ptr<const PackageID> >;
+template class WrappedForwardIterator<Sequence<tr1::shared_ptr<const PackageID> >::ReverseConstIteratorTag,
+ const tr1::shared_ptr<const PackageID> >;
template class WrappedOutputIterator<Sequence<tr1::shared_ptr<const PackageID> >::InserterTag,
tr1::shared_ptr<const PackageID> >;
@@ -212,6 +214,12 @@ PackageIDComparator::PackageIDComparator(const PackageDatabase * const db) :
_imp->m.insert(std::make_pair((*r)->name(), ++c));
}
+PackageIDComparator::PackageIDComparator(const PackageIDComparator & other) :
+ PrivateImplementationPattern<PackageIDComparator>(new Implementation<PackageIDComparator>)
+{
+ _imp->m = other._imp->m;
+}
+
PackageIDComparator::~PackageIDComparator()
{
}