diff --git a/include/boost/functional/factory.hpp b/include/boost/functional/factory.hpp index 4e0e1ba..a7cd9d7 100644 --- a/include/boost/functional/factory.hpp +++ b/include/boost/functional/factory.hpp @@ -10,10 +10,10 @@ Distributed under the Boost Software License, Version 1.0. #ifndef BOOST_FUNCTIONAL_FACTORY_HPP #define BOOST_FUNCTIONAL_FACTORY_HPP +#include #include #include #include -#include #if !defined(BOOST_NO_CXX11_ALLOCATOR) #include #endif @@ -141,15 +141,15 @@ public: private: typedef typename fc_pointer::type pointer; - fc_allocate(const fc_allocate&); - fc_allocate& operator=(const fc_allocate&); - pointer release() BOOST_NOEXCEPT { pointer p = p_; p_ = pointer(); return p; } + fc_allocate(const fc_allocate&); + fc_allocate& operator=(const fc_allocate&); + A a_; pointer p_; };