summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-10 19:24:52 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-10 19:24:52 +0200
commitdb7777b1aba871e53138bfe2faebce3e6373535f (patch)
treea54081bf5d5ca7953ae83ca0f80ea56fcfe1ae57
parentca354793fd2c6f8b3921d6e6fb387f7b6f81b2d4 (diff)
Fix some west/east consts.
-rw-r--r--src/KM_fileio.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/KM_fileio.cpp b/src/KM_fileio.cpp
index 810234d..d497081 100644
--- a/src/KM_fileio.cpp
+++ b/src/KM_fileio.cpp
@@ -916,7 +916,7 @@ Kumu::FileReader::OpenRead(const std::string& filename) const
NULL // no template file
);
- HRESULT const last_error = GetLastError();
+ const HRESULT last_error = GetLastError();
::SetErrorMode(prev);
@@ -1061,7 +1061,7 @@ Kumu::FileWriter::OpenWrite(const std::string& filename)
NULL // no template file
);
- HRESULT const last_error = GetLastError();
+ const HRESULT last_error = GetLastError();
::SetErrorMode(prev);
@@ -1102,7 +1102,7 @@ Kumu::FileWriter::OpenModify(const std::string& filename)
);
delete[] buffer;
- HRESULT const last_error = GetLastError();
+ const HRESULT last_error = GetLastError();
::SetErrorMode(prev);