From e152d4c1dc85b7e9ae40470205b13a7031631e52 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Mon, 6 Nov 2023 23:26:59 +0000 Subject: [PATCH] In the SG9 Ranges meeting on `path_view` earlier today it was noted that the `render()` functions are not `const`-qualified. I have no idea whey they were not from the beginning. Fixed now. --- include/llfio/revision.hpp | 6 +++--- include/llfio/v2.0/path_view.hpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/llfio/revision.hpp b/include/llfio/revision.hpp index 0d1fe46b..6568768e 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 b127917416893eb317a7369094bca1050b79b51a -#define LLFIO_PREVIOUS_COMMIT_DATE "2023-08-17 10:20:42 +00:00" -#define LLFIO_PREVIOUS_COMMIT_UNIQUE b1279174 +#define LLFIO_PREVIOUS_COMMIT_REF aa2be6c0db56b4164837d3bc20938785dea7419d +#define LLFIO_PREVIOUS_COMMIT_DATE "2023-11-06 23:23:21 +00:00" +#define LLFIO_PREVIOUS_COMMIT_UNIQUE aa2be6c0 diff --git a/include/llfio/v2.0/path_view.hpp b/include/llfio/v2.0/path_view.hpp index 8ae0ac42..addf0b68 100644 --- a/include/llfio/v2.0/path_view.hpp +++ b/include/llfio/v2.0/path_view.hpp @@ -1551,7 +1551,7 @@ class LLFIO_DECL path_view_component LLFIO_TREQUIRES( LLFIO_TPRED(is_source_acceptable), LLFIO_TEXPR(std::is_constructible, path_view_component, Args...>::value)) - rendered_path render(path_view_component view, Args &&...args) + rendered_path render(path_view_component view, Args &&...args) const { return rendered_path(view, std::forward(args)...); } @@ -1562,7 +1562,7 @@ class LLFIO_DECL path_view_component LLFIO_TEXPR(std::is_constructible, path_view_component, Args...>::value)) rendered_path render_zero_terminated(path_view_component view, - Args &&...args) + Args &&...args) const { return rendered_path(view, std::forward(args)...); } @@ -1573,7 +1573,7 @@ class LLFIO_DECL path_view_component LLFIO_TEXPR(std::is_constructible, path_view_component, Args...>::value)) rendered_path render_not_zero_terminated(path_view_component view, - Args &&...args) + Args &&...args) const { return rendered_path(view, std::forward(args)...); }