Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74117 - sandbox/mmap/boost/mmap
From: dsaritz_at_[hidden]
Date: 2011-08-29 05:15:22


Author: psiha
Date: 2011-08-29 05:15:20 EDT (Mon, 29 Aug 2011)
New Revision: 74117
URL: http://svn.boost.org/trac/boost/changeset/74117

Log:
Fixed Clang compiler errors.
Text files modified:
   sandbox/mmap/boost/mmap/mapped_view.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/mmap/boost/mmap/mapped_view.hpp
==============================================================================
--- sandbox/mmap/boost/mmap/mapped_view.hpp (original)
+++ sandbox/mmap/boost/mmap/mapped_view.hpp 2011-08-29 05:15:20 EDT (Mon, 29 Aug 2011)
@@ -107,7 +107,7 @@
     );
 
 private:
- template <typename T, typename Impl> friend class detail::mapped_view_base;
+ template <typename Element_, typename Impl_> friend class detail::mapped_view_base;
 
     mapped_view_reference( iterator_range<Element *> const & mapped_range ) : detail::mapped_view_base<Element, Impl>( mapped_range ) {}
     mapped_view_reference( Element * const p_begin, Element * const p_end ) : detail::mapped_view_base<Element, Impl>( p_begin, p_end ) {}
@@ -194,8 +194,8 @@
 mapped_view_reference<Element, Impl> mapped_view_reference<Element, Impl>::map
 (
     mapping<Impl> const & source_mapping,
- boost::uint64_t offset = 0,
- std ::size_t desired_size = 0
+ boost::uint64_t offset ,
+ std ::size_t desired_size
 )
 {
     BOOST_ASSERT_MSG( !boost::is_const<Element>::value || source_mapping.is_read_only(), "Use const element mapped view for read only mappings." );


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