[Boost-bugs] [Boost C++ Libraries] #2278: fix for the mapped_file_test compilation error for msvc 7.1

Subject: [Boost-bugs] [Boost C++ Libraries] #2278: fix for the mapped_file_test compilation error for msvc 7.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-02 16:41:01


#2278: fix for the mapped_file_test compilation error for msvc 7.1
----------------------------------------------------------+-----------------
 Reporter: David Walthall <walthall_at_[hidden]> | Owner: turkanis
     Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: iostreams
  Version: Boost 1.36.0 | Severity: Problem
 Keywords: |
----------------------------------------------------------+-----------------
 he following patch fixes the mapped_file_test compilation error for msvc
 7.1 (daw-msvc71):

 Index: libs/iostreams/src/mapped_file.cpp
 ===================================================================
 --- libs/iostreams/src/mapped_file.cpp (revision 48407)
 +++ libs/iostreams/src/mapped_file.cpp (working copy)
 @@ -434,7 +434,7 @@

  void mapped_file_source::close() { pimpl_->close(); }

 -mapped_file_source::operator safe_bool() const
 +mapped_file_source::operator mapped_file_source::safe_bool() const
  { return pimpl_->error() ? &safe_bool_helper::x : 0; }

  bool mapped_file_source::operator!() const

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2278>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC