summaryrefslogtreecommitdiffstats
path: root/src/runtime_paths.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime_paths.cpp')
-rw-r--r--src/runtime_paths.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime_paths.cpp b/src/runtime_paths.cpp
index b876ebd4..cca9490d 100644
--- a/src/runtime_paths.cpp
+++ b/src/runtime_paths.cpp
@@ -44,7 +44,8 @@ static const char* const library_suffix = ".so";
#endif
static std::vector<FilePath>
-parse_search_path(const char* search_path, std::vector<FilePath> defaults)
+parse_search_path(const char* search_path,
+ const std::vector<FilePath>& defaults)
{
if (!search_path) {
return defaults;