From 453a20706f3e220a0f3375f77f2570f2be41e227 Mon Sep 17 00:00:00 2001 From: Tobias Schwinger Date: Sun, 22 Feb 2009 16:27:22 +0000 Subject: [PATCH] adds missing template parameters for partial specialisations [SVN r51392] --- include/boost/functional/factory.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/functional/factory.hpp b/include/boost/functional/factory.hpp index 6692427..4aa4267 100644 --- a/include/boost/functional/factory.hpp +++ b/include/boost/functional/factory.hpp @@ -41,8 +41,8 @@ namespace boost //----- ---- --- -- - - - - - template< typename Pointer > - class factory + template< typename Pointer, factory_alloc_propagation AP > + class factory { public: typedef typename boost::remove_cv::type result_type; @@ -124,8 +124,8 @@ namespace boost # undef BOOST_TMP_MACRO }; - template< typename Pointer, class Allocator > - class factory; + template< typename Pointer, class Allocator, factory_alloc_propagation AP > + class factory; // forbidden, would create a dangling reference }