From d3572dd4ec6b3ba5845957df0e2ef66f3184b5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Tue, 22 Oct 2019 19:23:35 -0400 Subject: [PATCH] Fix silly warning --- indra/newview/llappviewer.cpp | 2 +- indra/newview/llappviewer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 67d87861c..56c2c6550 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -3774,7 +3774,7 @@ void LLAppViewer::purgeCache() gDirUtilp->deleteFilesInDir(gDirUtilp->getExpandedFilename(LL_PATH_CACHE, ""), mask); } -const std::string& LLAppViewer::getSecondLifeTitle() const +std::string LLAppViewer::getSecondLifeTitle() const { return LLTrans::getString("APP_NAME"); } diff --git a/indra/newview/llappviewer.h b/indra/newview/llappviewer.h index 06da8ee82..9644fbe08 100644 --- a/indra/newview/llappviewer.h +++ b/indra/newview/llappviewer.h @@ -102,7 +102,7 @@ public: bool getPurgeCache() const { return mPurgeCache; } - const std::string& getSecondLifeTitle() const; // The Second Life title. + std::string getSecondLifeTitle() const; // The Second Life title. const std::string& getWindowTitle() const; // The window display name. void forceDisconnect(const std::string& msg); // Force disconnection, with a message to the user.