From 6bc414117c996cf35706882230912afcefb96183 Mon Sep 17 00:00:00 2001 From: PJutch <103033969+PJutch@users.noreply.github.com> Date: Tue, 23 Jul 2024 23:31:35 +0300 Subject: [PATCH] Fix writeFile --- include/JutchsON/write/write.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/JutchsON/write/write.hpp b/include/JutchsON/write/write.hpp index 48d3be3..7e41c47 100644 --- a/include/JutchsON/write/write.hpp +++ b/include/JutchsON/write/write.hpp @@ -17,7 +17,7 @@ namespace JutchsON { template void writeFile(const std::filesystem::path& path, T t, Env&& env = {}) { - writeWholeFile(path, write(t), std::forward(env)); + writeWholeFile(path, write(t, std::forward(env))); } }