Skip to content

Commit

Permalink
use const
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Jan 24, 2024
1 parent 09616be commit 450b40c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified game_dir_debug/red4ext/plugins/input_loader/input_loader.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion include/InputLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

namespace InputLoader {

DLLDIR void Add(RED4ext::PluginHandle aHandle, wchar_t * str);
DLLDIR void Add(RED4ext::PluginHandle aHandle, const wchar_t * str);

}
2 changes: 1 addition & 1 deletion src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pugi::xml_document inputUserMappingsOriginal;

static std::vector<std::filesystem::path> document_paths;

void Add(RED4ext::PluginHandle aHandle, wchar_t * str) {
void Add(RED4ext::PluginHandle aHandle, const wchar_t * str) {
std::filesystem::path path(str);
if (path.is_relative()) {
char dllFilePath[513] = {0};
Expand Down

0 comments on commit 450b40c

Please sign in to comment.