Skip to content

Commit

Permalink
Merge branches 'main' and 'main' of https://github.com/stephenberry/g…
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenberry committed Jun 24, 2024
2 parents d5748d5 + d4be1fd commit 81d8236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/glaze/file/read_directory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace glz
{
[[nodiscard]] inline error_ctx directory_to_buffers(std::unordered_map<std::filesystem::path, std::string>& files,
const sv directory_path)
const sv directory_path)
{
for (const auto& entry : std::filesystem::directory_iterator(directory_path)) {
if (entry.is_regular_file()) {
Expand Down
4 changes: 2 additions & 2 deletions include/glaze/file/write_directory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace glz
{
[[nodiscard]] inline error_ctx buffers_to_directory(const std::unordered_map<std::filesystem::path, std::string>& buffers,
const sv directory)
[[nodiscard]] inline error_ctx buffers_to_directory(
const std::unordered_map<std::filesystem::path, std::string>& buffers, const sv directory)
{
namespace fs = std::filesystem;
if (not fs::exists(directory)) {
Expand Down

0 comments on commit 81d8236

Please sign in to comment.