diff options
-rw-r--r-- | appveyor.yml | 2 | ||||
-rw-r--r-- | include/llfio/v2.0/map_view.hpp | 2 | ||||
-rw-r--r-- | test/tests/mapped.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml index 1ae2f8da..7c32fb43 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,7 +13,7 @@ image: Visual Studio 2017 init: - git config --global core.longpaths true -clone_folder: c:\boost.afio +clone_folder: c:\boost.llfio platform: x64 configuration: Release environment: diff --git a/include/llfio/v2.0/map_view.hpp b/include/llfio/v2.0/map_view.hpp index b4811891..75bab5b0 100644 --- a/include/llfio/v2.0/map_view.hpp +++ b/include/llfio/v2.0/map_view.hpp @@ -54,7 +54,7 @@ public: \param map The mapped data to take a view upon. \param length The number of items to map, use -1 to mean the length of the input view. - \param byteoffset The item offset into the mapped file handle. + \param offset The item offset into the mapped file handle. */ map_view(mapped<T> &map, size_type length = (size_type) -1, size_type offset = 0) // NOLINT : span<T>(map.begin() + offset, (length == (size_type) -1) ? (map.size() - offset) : length) // NOLINT diff --git a/test/tests/mapped.cpp b/test/tests/mapped.cpp index 018d7e09..98ca4d98 100644 --- a/test/tests/mapped.cpp +++ b/test/tests/mapped.cpp @@ -136,5 +136,5 @@ static inline void TestMappedView2() BOOST_CHECK(mfh.address() == nullptr); } -KERNELTEST_TEST_KERNEL(integration, llfio, algorithm, mapped_span1, "Tests that llfio::map_view works as expected", TestMappedView1()) +KERNELTEST_TEST_KERNEL(integration, llfio, algorithm, mapped_span1, "Tests that llfio::mapped works as expected", TestMappedView1()) KERNELTEST_TEST_KERNEL(integration, llfio, algorithm, mapped_span2, "Tests that llfio::map_view works as expected", TestMappedView2()) |