aboutsummaryrefslogtreecommitdiff
path: root/paludis
diff options
context:
space:
mode:
Diffstat (limited to 'paludis')
-rw-r--r--paludis/dep_spec.cc4
-rw-r--r--paludis/dep_spec.hh3
-rw-r--r--paludis/spec_tree.cc1
3 files changed, 6 insertions, 2 deletions
diff --git a/paludis/dep_spec.cc b/paludis/dep_spec.cc
index fc5c98139..e603fc443 100644
--- a/paludis/dep_spec.cc
+++ b/paludis/dep_spec.cc
@@ -641,8 +641,8 @@ PackageDepSpec::data() const
namespace paludis
{
- template class PALUDIS_VISIBLE LabelsDepSpec<URILabel>;
- template class PALUDIS_VISIBLE LabelsDepSpec<DependenciesLabel>;
+ template class LabelsDepSpec<URILabel>;
+ template class LabelsDepSpec<DependenciesLabel>;
template class Cloneable<DepSpec>;
template class Pimp<ConditionalDepSpec>;
diff --git a/paludis/dep_spec.hh b/paludis/dep_spec.hh
index d4e5f5746..a74711329 100644
--- a/paludis/dep_spec.hh
+++ b/paludis/dep_spec.hh
@@ -710,6 +710,9 @@ namespace paludis
const std::string label() const PALUDIS_ATTRIBUTE((warn_unused_result));
};
+ extern template class PALUDIS_VISIBLE LabelsDepSpec<URILabel>;
+ extern template class PALUDIS_VISIBLE LabelsDepSpec<DependenciesLabel>;
+
extern template class PALUDIS_VISIBLE WrappedForwardIterator<DependenciesLabelsDepSpec::ConstIteratorTag,
const std::shared_ptr<const DependenciesLabel> >;
extern template class PALUDIS_VISIBLE WrappedForwardIterator<URILabelsDepSpec::ConstIteratorTag,
diff --git a/paludis/spec_tree.cc b/paludis/spec_tree.cc
index e6c68934c..d382f8b99 100644
--- a/paludis/spec_tree.cc
+++ b/paludis/spec_tree.cc
@@ -17,6 +17,7 @@
* Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <paludis/dep_spec.hh>
#include <paludis/spec_tree.hh>
#include <paludis/util/sequence-impl.hh>
#include <paludis/util/wrapped_forward_iterator-impl.hh>