summaryrefslogtreecommitdiff
path: root/src/storm/SWrapper.cpp
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2023-10-07 21:07:04 -0600
committerKiritoDv <kiritodev01@gmail.com>2023-10-07 21:07:04 -0600
commitdfbf8f15256d929d354b034a9a0db481078b5642 (patch)
tree06a05a1f5fa7df00495de3ec5c21fa1a92206442 /src/storm/SWrapper.cpp
parenta38f895f8033841c3d7fbea7bcd604ac49dcd03e (diff)
Added a command to pack an mpq from a directory
Diffstat (limited to 'src/storm/SWrapper.cpp')
-rw-r--r--src/storm/SWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storm/SWrapper.cpp b/src/storm/SWrapper.cpp
index 2e3b109..d17042f 100644
--- a/src/storm/SWrapper.cpp
+++ b/src/storm/SWrapper.cpp
@@ -16,7 +16,7 @@ SWrapper::SWrapper(const std::string& path) {
}
}
-bool SWrapper::CreateFile(std::string path, std::vector<char> data) {
+bool SWrapper::CreateFile(const std::string& path, std::vector<char> data) {
HANDLE hFile;
#ifdef _WIN32
SYSTEMTIME sysTime;