Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ned14/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-12-15 23:48:34 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-12-15 23:48:34 +0300
commitcdf7c073680d5c185aa1a21929f6573196265eab (patch)
tree8aa405945caecd061ce416737ad14a9865f9b514
parent89ec1e22f19f3cd295f882705e1acc95a56a2a67 (diff)
Fix VS2019 CI failure.reenable_vs2019
-rw-r--r--include/llfio/revision.hpp6
-rw-r--r--include/llfio/v2.0/map_handle.hpp5
2 files changed, 6 insertions, 5 deletions
diff --git a/include/llfio/revision.hpp b/include/llfio/revision.hpp
index 870d6a06..7523b8da 100644
--- a/include/llfio/revision.hpp
+++ b/include/llfio/revision.hpp
@@ -1,4 +1,4 @@
// Note the second line of this file must ALWAYS be the git SHA, third line ALWAYS the git SHA update time
-#define LLFIO_PREVIOUS_COMMIT_REF fba45d6bacbdc7710e257a0b3d229fe3ef3a1f5d
-#define LLFIO_PREVIOUS_COMMIT_DATE "2021-12-14 16:26:38 +00:00"
-#define LLFIO_PREVIOUS_COMMIT_UNIQUE fba45d6b
+#define LLFIO_PREVIOUS_COMMIT_REF 89ec1e22f19f3cd295f882705e1acc95a56a2a67
+#define LLFIO_PREVIOUS_COMMIT_DATE "2021-12-14 18:39:53 +00:00"
+#define LLFIO_PREVIOUS_COMMIT_UNIQUE 89ec1e22
diff --git a/include/llfio/v2.0/map_handle.hpp b/include/llfio/v2.0/map_handle.hpp
index 55cefa8f..401d6481 100644
--- a/include/llfio/v2.0/map_handle.hpp
+++ b/include/llfio/v2.0/map_handle.hpp
@@ -954,7 +954,8 @@ namespace detail
{
try
{
- auto make_shared = [](map_handle h) {
+ auto make_shared = [](map_handle h) -> io_handle::registered_buffer_type
+ {
struct registered_buffer_type_indirect : io_multiplexer::_registered_buffer_type
{
map_handle h;
@@ -965,7 +966,7 @@ namespace detail
}
};
auto ptr = std::make_shared<registered_buffer_type_indirect>(std::move(h));
- return ptr;
+ return io_handle::registered_buffer_type(ptr);
};
const auto &page_sizes = utils::page_sizes(true);
size_t idx = 0;