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.