aboutsummaryrefslogtreecommitdiff
path: root/paludis/dep_spec_flattener.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-28 22:19:20 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-01 03:57:52 +0000
commit92f0a95d1854442e744f707eaae9add7fd92ff67 (patch)
tree9d403328a07f89c1598b4d3cb0079b292d82729e /paludis/dep_spec_flattener.hh
parent092228a814cd6700b97112b5dcf931c80b6b9431 (diff)
downloadpaludis-92f0a95d1854442e744f707eaae9add7fd92ff67.tar.gz
paludis-92f0a95d1854442e744f707eaae9add7fd92ff67.tar.xz
Pass env, id to ConditionalDepSpec members
Diffstat (limited to 'paludis/dep_spec_flattener.hh')
-rw-r--r--paludis/dep_spec_flattener.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/paludis/dep_spec_flattener.hh b/paludis/dep_spec_flattener.hh
index a394373d9..c526ecd10 100644
--- a/paludis/dep_spec_flattener.hh
+++ b/paludis/dep_spec_flattener.hh
@@ -29,6 +29,7 @@
#include <paludis/util/no_type.hh>
#include <paludis/util/wrapped_forward_iterator.hh>
#include <memory>
+#include <type_traits>
/** \file
* Declarations for DepSpecFlattener.
@@ -93,7 +94,11 @@ namespace paludis
///\name Basic operations
///\{
- DepSpecFlattener(const Environment * const);
+ DepSpecFlattener(
+ const Environment * const,
+ const std::shared_ptr<const PackageID> & = typename std::enable_if<
+ std::is_same<Heirarchy_, SetSpecTree>::value,
+ std::shared_ptr<const PackageID> >::type());
~DepSpecFlattener();