Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82877 - sandbox/mmap/boost/mmap/handles
From: dsaritz_at_[hidden]
Date: 2013-02-14 10:15:15


Author: psiha
Date: 2013-02-14 10:15:14 EST (Thu, 14 Feb 2013)
New Revision: 82877
URL: http://svn.boost.org/trac/boost/changeset/82877

Log:
Silenced a MSVC warning.
Updated copyright years.
Text files modified:
   sandbox/mmap/boost/mmap/handles/handle_ref.hpp | 7 ++++++-
   1 files changed, 6 insertions(+), 1 deletions(-)

Modified: sandbox/mmap/boost/mmap/handles/handle_ref.hpp
==============================================================================
--- sandbox/mmap/boost/mmap/handles/handle_ref.hpp (original)
+++ sandbox/mmap/boost/mmap/handles/handle_ref.hpp 2013-02-14 10:15:14 EST (Thu, 14 Feb 2013)
@@ -3,7 +3,7 @@
 /// \file handle_ref.hpp
 /// --------------------
 ///
-/// Copyright (c) 2011 Domagoj Saric
+/// Copyright (c) Domagoj Saric 2011.-2013.
 ///
 /// Use, modification and distribution is subject to the Boost Software License, Version 1.0.
 /// (See accompanying file LICENSE_1_0.txt or copy at
@@ -24,6 +24,9 @@
 {
 //------------------------------------------------------------------------------
 
+#pragma warning( push )
+#pragma warning( disable : 4512 ) // Assignment operator could not be generated.
+
 template <typename Handle>
 struct handle_ref
 {
@@ -36,6 +39,8 @@
     native_handle_t const value;
 };
 
+#pragma warning( pop )
+
 //------------------------------------------------------------------------------
 } // namespace mmap
 //------------------------------------------------------------------------------


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