|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50337 - branches/release/boost/interprocess
From: igaztanaga_at_[hidden]
Date: 2008-12-20 19:31:16
Author: igaztanaga
Date: 2008-12-20 19:31:16 EST (Sat, 20 Dec 2008)
New Revision: 50337
URL: http://svn.boost.org/trac/boost/changeset/50337
Log:
Fixed swap to be an inline function to avoid linking errors
Text files modified:
branches/release/boost/interprocess/file_mapping.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: branches/release/boost/interprocess/file_mapping.hpp
==============================================================================
--- branches/release/boost/interprocess/file_mapping.hpp (original)
+++ branches/release/boost/interprocess/file_mapping.hpp 2008-12-20 19:31:16 EST (Sat, 20 Dec 2008)
@@ -141,9 +141,9 @@
{ return m_filename.c_str(); }
#if !defined(BOOST_INTERPROCESS_RVALUE_REFERENCE) && !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
-void file_mapping::swap(file_mapping &other)
+inline void file_mapping::swap(file_mapping &other)
#else
-void file_mapping::swap(file_mapping &&other)
+inline void file_mapping::swap(file_mapping &&other)
#endif
{
std::swap(m_handle, other.m_handle);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk