diff options
Diffstat (limited to 'boost/system/detail/local_free_on_destruction.hpp')
-rw-r--r-- | boost/system/detail/local_free_on_destruction.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boost/system/detail/local_free_on_destruction.hpp b/boost/system/detail/local_free_on_destruction.hpp index 110024f3d5..25f879b3b0 100644 --- a/boost/system/detail/local_free_on_destruction.hpp +++ b/boost/system/detail/local_free_on_destruction.hpp @@ -12,6 +12,8 @@ #ifndef BOOST_SYSTEM_LOCAL_FREE_ON_EXIT_HPP #define BOOST_SYSTEM_LOCAL_FREE_ON_EXIT_HPP +#include <boost/detail/winapi/local_memory.hpp> + namespace boost { namespace system { namespace detail { @@ -24,7 +26,7 @@ public: ~local_free_on_destruction() { - ::LocalFree(p_); + boost::detail::winapi::LocalFree(p_); } private: |