Skip to content

Commit

Permalink
Fix writeFile
Browse files Browse the repository at this point in the history
  • Loading branch information
PJutch committed Jul 23, 2024
1 parent 3e159ab commit 6bc4141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/JutchsON/write/write.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace JutchsON {

template <typename T, typename Env = EmptyEnv>
void writeFile(const std::filesystem::path& path, T t, Env&& env = {}) {
writeWholeFile(path, write(t), std::forward<Env>(env));
writeWholeFile(path, write(t, std::forward<Env>(env)));
}
}

Expand Down

0 comments on commit 6bc4141

Please sign in to comment.