diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-08 11:48:34 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-08 11:48:34 +0100 |
commit | 91dacb469d3ee942c35f5b73bfee50741ce74766 (patch) | |
tree | 8cea2cd8555ee967af3440449750d6ec47ce86d4 /platform/web/export/export_plugin.cpp | |
parent | c8c483cf57a768110fce57e509f9b855e69d34b7 (diff) | |
parent | 96a95cb9743e755f10fa6a14895ea099e5ac4c51 (diff) | |
download | redot-engine-91dacb469d3ee942c35f5b73bfee50741ce74766.tar.gz |
Merge pull request #51156 from Muller-Castro/value2ref
Add const lvalue ref to container parameters
Diffstat (limited to 'platform/web/export/export_plugin.cpp')
-rw-r--r-- | platform/web/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/web/export/export_plugin.cpp b/platform/web/export/export_plugin.cpp index a70812cf5b..ee170280e2 100644 --- a/platform/web/export/export_plugin.cpp +++ b/platform/web/export/export_plugin.cpp @@ -112,7 +112,7 @@ Error EditorExportPlatformWeb::_write_or_error(const uint8_t *p_content, int p_s return OK; } -void EditorExportPlatformWeb::_replace_strings(HashMap<String, String> p_replaces, Vector<uint8_t> &r_template) { +void EditorExportPlatformWeb::_replace_strings(const HashMap<String, String> &p_replaces, Vector<uint8_t> &r_template) { String str_template = String::utf8(reinterpret_cast<const char *>(r_template.ptr()), r_template.size()); String out; Vector<String> lines = str_template.split("\n"); |