summaryrefslogtreecommitdiffstats
path: root/drivers/unix/os_unix.h
diff options
context:
space:
mode:
authorMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-01-08 22:36:19 -0300
committerMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-02-14 11:20:36 -0300
commita8bc9f3e78788bdf0be7348fcbfac15c127f1f48 (patch)
treecb6029160994d6445123f01ffe142e3e3ff6f96a /drivers/unix/os_unix.h
parent907db8eebcecb97d527edcaff77a1c87a6c068f5 (diff)
downloadredot-engine-a8bc9f3e78788bdf0be7348fcbfac15c127f1f48.tar.gz
Add const lvalue ref to core/* container parameters
Diffstat (limited to 'drivers/unix/os_unix.h')
-rw-r--r--drivers/unix/os_unix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h
index 86b0e38e92..d3393c98ec 100644
--- a/drivers/unix/os_unix.h
+++ b/drivers/unix/os_unix.h
@@ -55,9 +55,9 @@ public:
virtual Error get_entropy(uint8_t *r_buffer, int p_bytes) override;
- virtual Error open_dynamic_library(const String p_path, void *&p_library_handle, bool p_also_set_library_path = false, String *r_resolved_path = nullptr) override;
+ virtual Error open_dynamic_library(const String &p_path, void *&p_library_handle, bool p_also_set_library_path = false, String *r_resolved_path = nullptr) override;
virtual Error close_dynamic_library(void *p_library_handle) override;
- virtual Error get_dynamic_library_symbol_handle(void *p_library_handle, const String p_name, void *&p_symbol_handle, bool p_optional = false) override;
+ virtual Error get_dynamic_library_symbol_handle(void *p_library_handle, const String &p_name, void *&p_symbol_handle, bool p_optional = false) override;
virtual Error set_cwd(const String &p_cwd) override;