summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llappviewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 262175e009..3a218b58da 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -4812,7 +4812,7 @@ void LLAppViewer::idleExperienceCache()
if (!region) return;
std::string lookup_url=region->getCapability("GetExperienceInfo");
- if(!lookup_url.empty() && lookup_url.back() != '/')
+ if(!lookup_url.empty() && *lookup_url.rbegin() != '/')
{
lookup_url += '/';
}