aboutsummaryrefslogtreecommitdiff
path: root/paludis/selection_handler.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/selection_handler.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/selection_handler.hh')
-rw-r--r--paludis/selection_handler.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/paludis/selection_handler.hh b/paludis/selection_handler.hh
index 08ed6bc..401be62 100644
--- a/paludis/selection_handler.hh
+++ b/paludis/selection_handler.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008 Ciaran McCreesh
+ * Copyright (c) 2008, 2010 Ciaran McCreesh
* Copyright (c) 2008 David Leverton
*
* This file is part of the Paludis package manager. Paludis is free software;
@@ -51,9 +51,7 @@ namespace paludis
PALUDIS_ATTRIBUTE((warn_unused_result)) = 0;
};
-#ifdef PALUDIS_HAVE_EXTERN_TEMPLATE
extern template class InstantiationPolicy<SelectionHandler, instantiation_method::NonCopyableTag>;
-#endif
}
#endif