Boost logo

Boost :

From: David Walthall (walthall_at_[hidden])
Date: 2008-08-28 12:36:23


The 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

David

PS Is this the right place to post patches? Should I use Trac instead?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk