aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/pool.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-28 21:48:57 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-29 03:26:16 +0100
commitf1e473480062295181b9641990f48be17a9a892d (patch)
treee9b15d49360d6738cd709bf7d457f9e3058eaee5 /paludis/util/pool.hh
parent2dd11396fbc7f8c26f5f9536b3d5c702a82ea4b1 (diff)
downloadpaludis-f1e473480062295181b9641990f48be17a9a892d.tar.gz
paludis-f1e473480062295181b9641990f48be17a9a892d.tar.xz
Make it easier to explicitly instantiate Pool<>
Diffstat (limited to 'paludis/util/pool.hh')
-rw-r--r--paludis/util/pool.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/util/pool.hh b/paludis/util/pool.hh
index 58e919b38..6ad942024 100644
--- a/paludis/util/pool.hh
+++ b/paludis/util/pool.hh
@@ -20,6 +20,7 @@
#ifndef PALUDIS_GUARD_PALUDIS_UTIL_POOL_HH
#define PALUDIS_GUARD_PALUDIS_UTIL_POOL_HH 1
+#include <paludis/util/pool-fwd.hh>
#include <paludis/util/singleton.hh>
#include <paludis/util/pimp.hh>
#include <memory>
@@ -43,7 +44,7 @@ namespace paludis
public:
template <typename... Args_>
- const std::shared_ptr<const T_> create(Args_ ...) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const T_> create(const Args_ & ...) const PALUDIS_ATTRIBUTE((warn_unused_result));
};
class PALUDIS_VISIBLE PoolKey