aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wouter van Kesteren <woutershep@gmail.com> 2013-04-27 17:11:40 +0200
committerAvatar Wouter van Kesteren <woutershep@gmail.com> 2013-05-03 22:54:14 +0200
commit40c2e8e765482968ee30cc76be9cfb77ed7038e1 (patch)
treede4912cdc6e3f9e4dd8b4e83af0d1fd69b6ecea3
parent627009d4ccbdb4b141e8594c7b70cb1f6144539d (diff)
downloadpaludis-40c2e8e765482968ee30cc76be9cfb77ed7038e1.tar.gz
paludis-40c2e8e765482968ee30cc76be9cfb77ed7038e1.tar.xz
Fix linking error in e_repository_TEST.cc
e_repository_TEST.cc:180: undefined reference to `paludis::Set<paludis::WrappedValue<paludis::CategoryNamePartTag>, paludis::DefaultSetComparator<paludis::WrappedValue<paludis::CategoryNamePartTag> > >::find(paludis::WrappedValue<paludis::CategoryNamePartTag> const&) const'
-rw-r--r--paludis/environment_implementation.cc1
-rw-r--r--paludis/name.cc6
-rw-r--r--paludis/name.hh4
3 files changed, 8 insertions, 3 deletions
diff --git a/paludis/environment_implementation.cc b/paludis/environment_implementation.cc
index fd33168..ad6a2f7 100644
--- a/paludis/environment_implementation.cc
+++ b/paludis/environment_implementation.cc
@@ -28,6 +28,7 @@
#include <paludis/filter.hh>
#include <paludis/filtered_generator.hh>
#include <paludis/partially_made_package_dep_spec.hh>
+#include <paludis/name.hh>
#include <paludis/util/log.hh>
#include <paludis/util/save.hh>
diff --git a/paludis/name.cc b/paludis/name.cc
index 79cd895..5891834 100644
--- a/paludis/name.cc
+++ b/paludis/name.cc
@@ -54,9 +54,9 @@ namespace paludis
template class PALUDIS_VISIBLE WrappedForwardIterator<Set<PackageNamePart>::ConstIteratorTag, const PackageNamePart>;
template class PALUDIS_VISIBLE WrappedOutputIterator<Set<PackageNamePart>::InserterTag, PackageNamePart>;
- template class PALUDIS_VISIBLE Set<CategoryNamePart>;
- template class PALUDIS_VISIBLE WrappedForwardIterator<Set<CategoryNamePart>::ConstIteratorTag, const CategoryNamePart>;
- template class PALUDIS_VISIBLE WrappedOutputIterator<Set<CategoryNamePart>::InserterTag, CategoryNamePart>;
+ template class Set<CategoryNamePart>;
+ template class WrappedForwardIterator<Set<CategoryNamePart>::ConstIteratorTag, const CategoryNamePart>;
+ template class WrappedOutputIterator<Set<CategoryNamePart>::InserterTag, CategoryNamePart>;
template class Set<QualifiedPackageName>;
template class WrappedForwardIterator<Set<QualifiedPackageName>::ConstIteratorTag, const QualifiedPackageName>;
diff --git a/paludis/name.hh b/paludis/name.hh
index 855d83d..ba6147c 100644
--- a/paludis/name.hh
+++ b/paludis/name.hh
@@ -276,6 +276,10 @@ namespace paludis
extern template class PALUDIS_VISIBLE WrappedValue<SetNameTag>;
extern template class PALUDIS_VISIBLE WrappedValue<PartNameTag>;
+ extern template class PALUDIS_VISIBLE Set<CategoryNamePart>;
+ extern template class PALUDIS_VISIBLE WrappedForwardIterator<Set<CategoryNamePart>::ConstIteratorTag, const CategoryNamePart>;
+ extern template class PALUDIS_VISIBLE WrappedOutputIterator<Set<CategoryNamePart>::InserterTag, CategoryNamePart>;
+
extern template class PALUDIS_VISIBLE Set<QualifiedPackageName>;
extern template class PALUDIS_VISIBLE WrappedForwardIterator<Set<QualifiedPackageName>::ConstIteratorTag, const QualifiedPackageName>;
extern template class PALUDIS_VISIBLE WrappedOutputIterator<Set<QualifiedPackageName>::InserterTag, QualifiedPackageName>;