diff options
Diffstat (limited to 'src/shmem.cpp')
-rw-r--r-- | src/shmem.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/shmem.cpp b/src/shmem.cpp index c1f3757..a636f4e 100644 --- a/src/shmem.cpp +++ b/src/shmem.cpp @@ -9,8 +9,6 @@ #include <winapi/utf8.hpp> #include <winapi/utils.hpp> -#include <boost/config.hpp> - #include <windows.h> #include <cstddef> @@ -70,19 +68,4 @@ SharedMemory SharedMemory::open(const std::string& name) { return {std::move(mapping), addr}; } -SharedMemory::SharedMemory(SharedMemory&& other) BOOST_NOEXCEPT_OR_NOTHROW { - swap(other); -} - -SharedMemory& SharedMemory::operator=(SharedMemory other) BOOST_NOEXCEPT_OR_NOTHROW { - swap(other); - return *this; -} - -void SharedMemory::swap(SharedMemory& other) BOOST_NOEXCEPT_OR_NOTHROW { - using std::swap; - swap(m_handle, other.m_handle); - swap(m_addr, other.m_addr); -} - } // namespace winapi |