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]
This commit is contained in:
Victor A. Wagner Jr.
2005-04-27 05:31:11 +00:00
parent 3087d16eef
commit cab880be3e

View File

@@ -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