aboutsummaryrefslogtreecommitdiff
path: root/zencore/filesystem.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-08-31 20:52:23 +0200
committerStefan Boberg <[email protected]>2021-08-31 20:52:23 +0200
commit0b5881476abd68055b622bed0553fe98450b5cf0 (patch)
treee64c253fc9f241496b6b842e430954df4c7e2d63 /zencore/filesystem.cpp
parentAdded some argument validation (diff)
parentFormat fix. (diff)
downloadzen-0b5881476abd68055b622bed0553fe98450b5cf0.tar.xz
zen-0b5881476abd68055b622bed0553fe98450b5cf0.zip
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zencore/filesystem.cpp')
-rw-r--r--zencore/filesystem.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp
index 591630b75..ec3de0306 100644
--- a/zencore/filesystem.cpp
+++ b/zencore/filesystem.cpp
@@ -443,7 +443,7 @@ WriteFile(std::filesystem::path Path, const IoBuffer* const* Data, size_t Buffer
}
}
-void
+void
WriteFile(std::filesystem::path Path, IoBuffer Data)
{
const IoBuffer* const DataPtr = &Data;
@@ -451,7 +451,6 @@ WriteFile(std::filesystem::path Path, IoBuffer Data)
WriteFile(Path, &DataPtr, 1);
}
-
FileContents
ReadFile(std::filesystem::path Path)
{