|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50336 - trunk/boost/interprocess
From: igaztanaga_at_[hidden]
Date: 2008-12-20 19:31:08
Author: igaztanaga
Date: 2008-12-20 19:31:08 EST (Sat, 20 Dec 2008)
New Revision: 50336
URL: http://svn.boost.org/trac/boost/changeset/50336
Log:
Fixed swap to be an inline function to avoid linking errors
Text files modified:
trunk/boost/interprocess/file_mapping.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/interprocess/file_mapping.hpp
==============================================================================
--- trunk/boost/interprocess/file_mapping.hpp (original)
+++ trunk/boost/interprocess/file_mapping.hpp 2008-12-20 19:31:08 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