diff options
-rw-r--r-- | paludis/util/pool-impl.hh | 8 | ||||
-rw-r--r-- | paludis/util/pool.hh | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/paludis/util/pool-impl.hh b/paludis/util/pool-impl.hh index 30142f315..3fdd12b8b 100644 --- a/paludis/util/pool-impl.hh +++ b/paludis/util/pool-impl.hh @@ -140,6 +140,14 @@ namespace paludis } template <typename T_> + template <typename T1_, typename T2_, typename T3_, typename T4_> + const std::shared_ptr<const T_> + Pool<T_>::create(const T1_ & a1, const T2_ & a2, const T3_ & a3, const T4_ & a4) const + { + return really_create(a1, a2, a3, a4); + } + + template <typename T_> ConcretePoolKey<T_>::ConcretePoolKey(const T_ & t) : PoolKey(PoolKeyTypeCodes::get<T_>()), _value(t) diff --git a/paludis/util/pool.hh b/paludis/util/pool.hh index b3adc4d5c..3d5d8a534 100644 --- a/paludis/util/pool.hh +++ b/paludis/util/pool.hh @@ -59,6 +59,9 @@ namespace paludis template <typename T1_, typename T2_, typename T3_> const std::shared_ptr<const T_> create(const T1_ &, const T2_ &, const T3_ &) const PALUDIS_ATTRIBUTE((warn_unused_result)); + + template <typename T1_, typename T2_, typename T3_, typename T4_> + const std::shared_ptr<const T_> create(const T1_ &, const T2_ &, const T3_ &, const T4_ &) const PALUDIS_ATTRIBUTE((warn_unused_result)); }; class PALUDIS_VISIBLE PoolKey |