Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 5959980

Browse files
fix: CI build windows
1 parent 2ea032b commit 5959980

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/utils/set_permission_utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ inline bool SetExecutePermission(const std::filesystem::path& filePath,
3030
// Clear read-only attribute
3131
DWORD fileAttributes = GetFileAttributes(exePath.c_str());
3232
if (fileAttributes == INVALID_FILE_ATTRIBUTES) {
33-
CTL_ERROR("Error accessing file: " << GetLastError());
33+
CTL_ERR("Error accessing file: " << GetLastError());
3434
return false;
3535
}
3636

3737
fileAttributes &= ~FILE_ATTRIBUTE_READONLY;
3838

3939
if (!SetFileAttributes(exePath.c_str(), fileAttributes)) {
40-
CTL_ERROR("Error setting file attributes: " << GetLastError());
40+
CTL_ERR("Error setting file attributes: " << GetLastError());
4141
return false;
4242
}
4343

0 commit comments

Comments
 (0)