aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/constraint.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-30 11:42:19 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-30 12:33:02 +0100
commite720af0d20461dfe8e17c3d61d2234b4e00658d1 (patch)
tree561f9ddbbc6fef7d998f5c8c1bd87cf68ab7f163 /paludis/resolver/constraint.hh
parent73d0cd4af1cb18c13f697b8486b773ed5c9412d9 (diff)
downloadpaludis-e720af0d20461dfe8e17c3d61d2234b4e00658d1.tar.gz
paludis-e720af0d20461dfe8e17c3d61d2234b4e00658d1.tar.xz
Require working 'extern template' support
Detect compilers that're broken with -O3. Use 'extern template' unconditionally.
Diffstat (limited to 'paludis/resolver/constraint.hh')
-rw-r--r--paludis/resolver/constraint.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/paludis/resolver/constraint.hh b/paludis/resolver/constraint.hh
index c6b99cf..6d8a7e9 100644
--- a/paludis/resolver/constraint.hh
+++ b/paludis/resolver/constraint.hh
@@ -87,11 +87,9 @@ namespace paludis
};
}
-#ifdef PALUDIS_HAVE_EXTERN_TEMPLATE
extern template class PrivateImplementationPattern<resolver::Constraints>;
extern template class WrappedForwardIterator<resolver::Constraints::ConstIteratorTag,
const std::tr1::shared_ptr<const resolver::Constraint> >;
-#endif
}
#endif