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

github.com/windirstat/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>2020-12-17 16:41:30 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-12-17 16:41:30 +0300
commit540cff7aa6d51cdad25c50857a4c3f523368cd33 (patch)
tree1e2e13bc28fdb2553b63b09ccb5c580c72dcf261
parentbd335d0124a25e6a344e038146d7568d7efc1f5f (diff)
From now on, use Outcome master branch. Also, a few more small fixes to path_view reference implementation to better match the WG21 proposal.
-rw-r--r--.github/workflows/make_release.yml5
-rw-r--r--CMakeLists.txt3
-rw-r--r--include/llfio/v2.0/path_view.hpp12
3 files changed, 12 insertions, 8 deletions
diff --git a/.github/workflows/make_release.yml b/.github/workflows/make_release.yml
index 1ea51e7e..34ecd80b 100644
--- a/.github/workflows/make_release.yml
+++ b/.github/workflows/make_release.yml
@@ -25,6 +25,11 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+ - name: Sleep until all binaries get uploaded
+ shell: bash
+ run: |
+ sleep 60
+
- name: Download Linux artifacts
uses: dawidd6/action-download-artifact@v2
if: steps.waitforstatuschecks.outputs.status == 'success'
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 693b6d2b..ab59a446 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,8 +51,7 @@ find_quickcpplib_library(quickcpplib
)
find_quickcpplib_library(outcome
GIT_REPOSITORY "https://github.com/ned14/outcome.git"
-# GIT_TAG "develop"
- GIT_TAG "better_optimisation" ## future Outcome v2.2
+ GIT_TAG "master"
REQUIRED
IS_HEADER_ONLY
)
diff --git a/include/llfio/v2.0/path_view.hpp b/include/llfio/v2.0/path_view.hpp
index d3764496..f1a5497c 100644
--- a/include/llfio/v2.0/path_view.hpp
+++ b/include/llfio/v2.0/path_view.hpp
@@ -236,7 +236,7 @@ public:
};
//! The default deleter to use
- template <class T> using default_deleter = std::default_delete<T>;
+ template <class T> using default_c_str_deleter = std::default_delete<T>;
private:
static constexpr auto _npos = string_view::npos;
@@ -782,7 +782,7 @@ public:
and `c_str` is never invoked as the two sources are byte
compared directly.
*/
- LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class Deleter = default_deleter<T[]>,
+ LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class Deleter = default_c_str_deleter<T[]>,
size_t _internal_buffer_size = default_internal_buffer_size)
LLFIO_TREQUIRES(LLFIO_TPRED(is_source_acceptable<T>))
constexpr int compare(path_view_component p, const std::locale &loc) const
@@ -793,7 +793,7 @@ public:
});
}
//! \overload
- LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class Deleter = default_deleter<T[]>,
+ LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class Deleter = default_c_str_deleter<T[]>,
size_t _internal_buffer_size = default_internal_buffer_size)
LLFIO_TREQUIRES(LLFIO_TPRED(is_source_acceptable<T>))
constexpr int compare(path_view_component p) const
@@ -825,7 +825,7 @@ public:
`operator new[]`. You can use an externally supplied larger temporary buffer to avoid
dynamic memory allocation in all situations.
*/
- LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class AllocatorOrDeleter = default_deleter<T[]>,
+ LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class AllocatorOrDeleter = default_c_str_deleter<T[]>,
size_t _internal_buffer_size = default_internal_buffer_size)
LLFIO_TREQUIRES(LLFIO_TPRED(is_source_acceptable<T>))
struct c_str
@@ -2051,12 +2051,12 @@ public:
and `c_str` is never invoked as the two sources are byte
compared directly.
*/
- LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class Deleter = default_deleter<T[]>,
+ LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class Deleter = default_c_str_deleter<T[]>,
size_t _internal_buffer_size = default_internal_buffer_size)
LLFIO_TREQUIRES(LLFIO_TPRED(path_view::is_source_acceptable<T>))
constexpr inline int compare(path_view p, const std::locale &loc) const;
//! \overload
- LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class Deleter = default_deleter<T[]>,
+ LLFIO_TEMPLATE(class T = typename filesystem::path::value_type, class Deleter = default_c_str_deleter<T[]>,
size_t _internal_buffer_size = default_internal_buffer_size)
LLFIO_TREQUIRES(LLFIO_TPRED(path_view::is_source_acceptable<T>))
constexpr inline int compare(path_view p) const;