Add wrong "static" attribute to anonymous_shared_memory, it should be "inline"

This commit is contained in:
Ion Gaztañaga
2024-07-09 22:29:44 +02:00
parent 0be0d7db23
commit f75fd25eb3

View File

@@ -69,7 +69,7 @@ namespace ipcdetail{
//!The function returns a mapped_region holding that segment or throws
//!interprocess_exception if the function fails.
//static mapped_region
static mapped_region
inline mapped_region
anonymous_shared_memory(std::size_t size, void *address = 0)
#if (!defined(BOOST_INTERPROCESS_WINDOWS))
{