mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-27 19:02:14 +00:00
Fixed vector_test and cleaned up intermodule singleton code.
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
|
||||
#ifdef BOOST_INTERPROCESS_WINDOWS
|
||||
#include <boost/interprocess/detail/windows_intermodule_singleton.hpp>
|
||||
#else
|
||||
#include <boost/interprocess/detail/portable_intermodule_singleton.hpp>
|
||||
#endif
|
||||
#include <boost/interprocess/detail/portable_intermodule_singleton.hpp>
|
||||
|
||||
namespace boost{
|
||||
namespace interprocess{
|
||||
|
||||
@@ -310,7 +310,6 @@ class managed_open_or_create_impl
|
||||
{
|
||||
typedef bool_<FileBased> file_like_t;
|
||||
(void)mode;
|
||||
error_info err;
|
||||
bool created = false;
|
||||
bool ronly = false;
|
||||
bool cow = false;
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <boost/interprocess/detail/os_file_functions.hpp>
|
||||
#include <boost/interprocess/detail/shared_dir_helpers.hpp>
|
||||
#include <boost/interprocess/detail/intermodule_singleton.hpp>
|
||||
#include <boost/interprocess/detail/portable_intermodule_singleton.hpp>
|
||||
#include <boost/interprocess/exceptions.hpp>
|
||||
#include <boost/interprocess/sync/spin/wait.hpp>
|
||||
#include <boost/interprocess/sync/detail/common_algorithms.hpp>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <boost/interprocess/sync/scoped_lock.hpp>
|
||||
#include <boost/cstdint.hpp>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <boost/container/map.hpp>
|
||||
|
||||
namespace boost{
|
||||
namespace interprocess{
|
||||
@@ -49,7 +49,7 @@ namespace intermodule_singleton_helpers {
|
||||
// max and current semaphore count.
|
||||
class windows_semaphore_based_map
|
||||
{
|
||||
typedef std::map<std::string, ref_count_ptr> map_type;
|
||||
typedef boost::container::map<std::string, ref_count_ptr> map_type;
|
||||
|
||||
public:
|
||||
windows_semaphore_based_map()
|
||||
|
||||
Reference in New Issue
Block a user