From cab880be3ed1a3c2807c2948edfd5cef8ea4e363 Mon Sep 17 00:00:00 2001 From: "Victor A. Wagner Jr." Date: Wed, 27 Apr 2005 05:31:11 +0000 Subject: [PATCH] Changed - the call to open to be more like the constructor the type of the argument length the call to open to use the arguments given [SVN r28499] --- src/mapped_file.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mapped_file.cpp b/src/mapped_file.cpp index cc17db9..1b320a3 100755 --- a/src/mapped_file.cpp +++ b/src/mapped_file.cpp @@ -106,10 +106,11 @@ void mapped_file_source::open(mapped_file_params p) open_impl(p); } -void mapped_file_source::open( const std::string& path, size_type length, +void mapped_file_source::open( const std::string& path, + mapped_file_source::size_type length, boost::intmax_t offset ) { - open_impl(p); + open(path, length, offset); } mapped_file_source::size_type mapped_file_source::size() const