Removed boost requirement from memory.h (detail)

Removed the boost requirement from memory.h using the shared_memory type defined in ptr.h
This commit is contained in:
Haydn Trigg
2015-07-25 11:45:10 +09:30
parent b426fafff6
commit 03d6e7d672

View File

@@ -7,8 +7,6 @@
#pragma once #pragma once
#endif #endif
#include <boost/shared_ptr.hpp>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <set> #include <set>
#include "yaml-cpp/dll.h" #include "yaml-cpp/dll.h"
@@ -40,7 +38,7 @@ class YAML_CPP_API memory_holder {
void merge(memory_holder& rhs); void merge(memory_holder& rhs);
private: private:
boost::shared_ptr<memory> m_pMemory; shared_memory m_pMemory;
}; };
} }
} }