From 03d6e7d67271be698d9a2fd51f749201649e0223 Mon Sep 17 00:00:00 2001 From: Haydn Trigg Date: Sat, 25 Jul 2015 11:45:10 +0930 Subject: [PATCH] Removed boost requirement from memory.h (detail) Removed the boost requirement from memory.h using the shared_memory type defined in ptr.h --- include/yaml-cpp/node/detail/memory.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/yaml-cpp/node/detail/memory.h b/include/yaml-cpp/node/detail/memory.h index e3d344b..8f2bc26 100644 --- a/include/yaml-cpp/node/detail/memory.h +++ b/include/yaml-cpp/node/detail/memory.h @@ -7,8 +7,6 @@ #pragma once #endif -#include -#include #include #include "yaml-cpp/dll.h" @@ -40,7 +38,7 @@ class YAML_CPP_API memory_holder { void merge(memory_holder& rhs); private: - boost::shared_ptr m_pMemory; + shared_memory m_pMemory; }; } }