Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51289 - trunk/boost/interprocess/sync
From: igaztanaga_at_[hidden]
Date: 2009-02-17 11:59:36


Author: igaztanaga
Date: 2009-02-17 11:59:35 EST (Tue, 17 Feb 2009)
New Revision: 51289
URL: http://svn.boost.org/trac/boost/changeset/51289

Log:
Ticket #2766: error in boost::interprocess::file_lock::swap
Text files modified:
   trunk/boost/interprocess/sync/file_lock.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/interprocess/sync/file_lock.hpp
==============================================================================
--- trunk/boost/interprocess/sync/file_lock.hpp (original)
+++ trunk/boost/interprocess/sync/file_lock.hpp 2009-02-17 11:59:35 EST (Tue, 17 Feb 2009)
@@ -110,7 +110,7 @@
    #endif
    {
       file_handle_t tmp = m_file_hnd;
- other.m_file_hnd = other.m_file_hnd;
+ m_file_hnd = other.m_file_hnd;
       other.m_file_hnd = tmp;
    }
    


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