diff options
Diffstat (limited to 'boost/interprocess/detail/shared_dir_helpers.hpp')
-rwxr-xr-x | boost/interprocess/detail/shared_dir_helpers.hpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/boost/interprocess/detail/shared_dir_helpers.hpp b/boost/interprocess/detail/shared_dir_helpers.hpp index 5d4d1b3842..0fcd898dcb 100755 --- a/boost/interprocess/detail/shared_dir_helpers.hpp +++ b/boost/interprocess/detail/shared_dir_helpers.hpp @@ -124,15 +124,11 @@ inline void get_shared_dir_root(std::string &dir_path) #endif #ifdef BOOST_INTERPROCESS_SHARED_DIR_FUNC -namespace boost { - namespace interprocess { - namespace ipcdetail { - // When BOOST_INTERPROCESS_SHARED_DIR_FUNC is defined, users have to implement - // get_shared_dir - void get_shared_dir(std::string &shared_dir); - } - } -} + + // When BOOST_INTERPROCESS_SHARED_DIR_FUNC is defined, users have to implement + // get_shared_dir + void get_shared_dir(std::string &shared_dir); + #else inline void get_shared_dir(std::string &shared_dir) { |