summaryrefslogtreecommitdiff
path: root/indra/llfilesystem/lldir.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-05-10 14:17:02 +0800
committerErik Kundiman <erik@megapahit.org>2024-05-10 14:17:02 +0800
commitc655968f91ca6b74b91219d08cf3e8f16c7d45d5 (patch)
tree3e85467f41d07bbb07065cd15b112b3029e5321c /indra/llfilesystem/lldir.cpp
parent2c282964cd69b61907b50bcfdb280233ef58f58c (diff)
Remove reference and const qualifier from skindir
This is so it doesn't throw an error about the instance not being able to run the replace function, for example, on a certain platform. If it's found out later that this causes problems, then make it exceptional only for that certain platform.
Diffstat (limited to 'indra/llfilesystem/lldir.cpp')
-rw-r--r--indra/llfilesystem/lldir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llfilesystem/lldir.cpp b/indra/llfilesystem/lldir.cpp
index dfb5f6dd2c..b3e7e78cc7 100644
--- a/indra/llfilesystem/lldir.cpp
+++ b/indra/llfilesystem/lldir.cpp
@@ -690,7 +690,7 @@ void LLDir::walkSearchSkinDirs(const std::string& subdir,
const std::string& filename,
const FUNCTION& function) const
{
- for (const std::string& skindir : mSearchSkinDirs)
+ for (std::string skindir : mSearchSkinDirs)
{
std::string subdir_path(add(skindir, subdir));
for (const std::string& subsubdir : subsubdirs)