Skip to content

Commit

Permalink
In the SG9 Ranges meeting on path_view earlier today it was noted
Browse files Browse the repository at this point in the history
that the `render()` functions are not `const`-qualified. I have
no idea whey they were not from the beginning. Fixed now.
  • Loading branch information
ned14 committed Nov 6, 2023
1 parent aa2be6c commit e152d4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions include/llfio/revision.hpp
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions include/llfio/v2.0/path_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@ class LLFIO_DECL path_view_component
LLFIO_TREQUIRES(
LLFIO_TPRED(is_source_acceptable<T>),
LLFIO_TEXPR(std::is_constructible<rendered_path<ZeroTermination, T, AllocatorOrDeleter, _internal_buffer_size>, path_view_component, Args...>::value))
rendered_path<ZeroTermination, T, AllocatorOrDeleter, _internal_buffer_size> render(path_view_component view, Args &&...args)
rendered_path<ZeroTermination, T, AllocatorOrDeleter, _internal_buffer_size> render(path_view_component view, Args &&...args) const
{
return rendered_path<ZeroTermination, T, AllocatorOrDeleter, _internal_buffer_size>(view, std::forward<Args>(args)...);
}
Expand All @@ -1562,7 +1562,7 @@ class LLFIO_DECL path_view_component
LLFIO_TEXPR(std::is_constructible<rendered_path<zero_termination::zero_terminated, T, AllocatorOrDeleter, _internal_buffer_size>,
path_view_component, Args...>::value))
rendered_path<zero_termination::zero_terminated, T, AllocatorOrDeleter, _internal_buffer_size> render_zero_terminated(path_view_component view,
Args &&...args)
Args &&...args) const
{
return rendered_path<zero_termination::zero_terminated, T, AllocatorOrDeleter, _internal_buffer_size>(view, std::forward<Args>(args)...);
}
Expand All @@ -1573,7 +1573,7 @@ class LLFIO_DECL path_view_component
LLFIO_TEXPR(std::is_constructible<rendered_path<zero_termination::zero_terminated, T, AllocatorOrDeleter, _internal_buffer_size>,
path_view_component, Args...>::value))
rendered_path<zero_termination::not_zero_terminated, T, AllocatorOrDeleter, _internal_buffer_size> render_not_zero_terminated(path_view_component view,
Args &&...args)
Args &&...args) const
{
return rendered_path<zero_termination::not_zero_terminated, T, AllocatorOrDeleter, _internal_buffer_size>(view, std::forward<Args>(args)...);
}
Expand Down

0 comments on commit e152d4c

Please sign in to comment.