diff options
author | 2013-04-26 22:19:44 +0200 | |
---|---|---|
committer | 2013-05-03 22:54:13 +0200 | |
commit | 5ccd26c507179602d4e1e832d20d1360d1aa6e4a (patch) | |
tree | eabfa9776e464571d5768a2bb0389e079adc8cb3 | |
parent | bdbdd1ba867a9335396031bd87f3ad9c9edf07ea (diff) | |
download | paludis-5ccd26c507179602d4e1e832d20d1360d1aa6e4a.tar.gz paludis-5ccd26c507179602d4e1e832d20d1360d1aa6e4a.tar.xz |
Fix linking error in source_uri_finder_TEST.cc
source_uri_finder_TEST-source_uri_finder_TEST.o: In function
`SourceURIFinder_Works_Test::TestBody()':
source_uri_finder_TEST.cc:(.text+0x618): undefined reference to `virtual thunk
to paludis::ImplementAcceptMethods<paludis::URILabel,
paludis::SpecificURILabel<paludis::URIMirrorsThenListedLabelTag>
>::_real_accept(paludis::WrappedVisitorBase<paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIMirrorsThenListedLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIMirrorsOnlyLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIListedOnlyLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIListedThenMirrorsLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URILocalMirrorsOnlyLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIManualOnlyLabelTag>,
paludis::TypeListTail> > > > > > >&)'
source_uri_finder_TEST-source_uri_finder_TEST.o: In function
`SourceURIFinder_Mirrors_Test::TestBody()':
source_uri_finder_TEST.cc:(.text+0x1d40): undefined reference to `virtual thunk
to paludis::ImplementAcceptMethods<paludis::URILabel,
paludis::SpecificURILabel<paludis::URIMirrorsThenListedLabelTag>
>::_real_accept(paludis::WrappedVisitorBase<paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIMirrorsThenListedLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIMirrorsOnlyLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIListedOnlyLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIListedThenMirrorsLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URILocalMirrorsOnlyLabelTag>,
paludis::TypeListEntry<paludis::SpecificURILabel<paludis::URIManualOnlyLabelTag>,
paludis::TypeListTail> > > > > > >&)'
collect2: error: ld returned 1 exit status
-rw-r--r-- | paludis/util/visitor.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/util/visitor.hh b/paludis/util/visitor.hh index af4fdde2f..ba97373db 100644 --- a/paludis/util/visitor.hh +++ b/paludis/util/visitor.hh @@ -20,6 +20,7 @@ #ifndef PALUDIS_GUARD_PALUDIS_UTIL_VISITOR_HH #define PALUDIS_GUARD_PALUDIS_UTIL_VISITOR_HH 1 +#include <paludis/util/attributes.hh> #include <paludis/util/visitor-fwd.hh> #include <paludis/util/no_type.hh> @@ -190,7 +191,7 @@ namespace paludis }; template <typename BaseClass_, typename RealClass_> - class ImplementAcceptMethods : + class PALUDIS_VISIBLE ImplementAcceptMethods : public virtual DeclareAbstractAcceptMethods<BaseClass_, typename BaseClass_::VisitableTypeList> { private: |