summaryrefslogtreecommitdiff
path: root/project.cpp
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-01-30 20:08:15 -0500
committerJosh Ferrell <josh@vector35.com>2024-01-30 20:53:36 -0500
commit3b690d1fc95557860799a4d6597d929752dc5a74 (patch)
treedebf921ac6b89e30f777f7b539ecb88fc01d7187 /project.cpp
parent2ac4b967b4e31757b1f447738b1111561117b871 (diff)
Avoid windows CreateFile conflict
Diffstat (limited to 'project.cpp')
-rw-r--r--project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.cpp b/project.cpp
index f6e6b49c..018b6e14 100644
--- a/project.cpp
+++ b/project.cpp
@@ -429,7 +429,7 @@ Ref<ProjectFile> Project::CreateFileFromPathUnsafe(const std::string& path, Ref<
}
-Ref<ProjectFile> Project::CreateFile(const std::vector<uint8_t>& contents, Ref<ProjectFolder> folder, const std::string& name, const std::string& description, const std::function<bool(size_t progress, size_t total)>& progressCallback)
+Ref<ProjectFile> Project::CreateFile_(const std::vector<uint8_t>& contents, Ref<ProjectFolder> folder, const std::string& name, const std::string& description, const std::function<bool(size_t progress, size_t total)>& progressCallback)
{
ProgressContext cb;
cb.callback = progressCallback;