aboutsummaryrefslogtreecommitdiff
path: root/paludis/selection_cache.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_cache.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_cache.hh')
-rw-r--r--paludis/selection_cache.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/paludis/selection_cache.hh b/paludis/selection_cache.hh
index a4db1b446..178dfe6b6 100644
--- a/paludis/selection_cache.hh
+++ b/paludis/selection_cache.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2009 Ciaran McCreesh
+ * Copyright (c) 2009, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -49,10 +49,8 @@ namespace paludis
~ScopedSelectionCache();
};
-#ifdef PALUDIS_HAVE_EXTERN_TEMPLATE
extern template class PrivateImplementationPattern<SelectionCache>;
extern template class PrivateImplementationPattern<ScopedSelectionCache>;
-#endif
}
#endif