From e8869cefdb95fea5d996f15b71f84c22c6532eab Mon Sep 17 00:00:00 2001 From: Ansariel Date: Tue, 10 Jan 2017 13:10:13 +0100 Subject: [PATCH] Drake says passing a const reference into a coroutine is bad... --- indra/newview/llfloaterabout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llfloaterabout.cpp b/indra/newview/llfloaterabout.cpp index 9787ab7fb3..e665e5a7a1 100644 --- a/indra/newview/llfloaterabout.cpp +++ b/indra/newview/llfloaterabout.cpp @@ -109,7 +109,7 @@ public: static const std::string sCheckUpdateListenerName; static void startFetchServerReleaseNotes(); - static void fetchServerReleaseNotesCoro(const std::string& cap_url); + static void fetchServerReleaseNotesCoro(std::string cap_url); static void handleServerReleaseNotes(LLSD results); }; @@ -233,7 +233,7 @@ void LLFloaterAbout::startFetchServerReleaseNotes() } /*static*/ -void LLFloaterAbout::fetchServerReleaseNotesCoro(const std::string& cap_url) +void LLFloaterAbout::fetchServerReleaseNotesCoro(std::string cap_url) { LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t httpAdapter(new LLCoreHttpUtil::HttpCoroutineAdapter("fetchServerReleaseNotesCoro", LLCore::HttpRequest::DEFAULT_POLICY_ID));