Drake says passing a const reference into a coroutine is bad...

meow-7.2.2
Ansariel 2017-01-10 13:10:13 +01:00
parent 0f1891b661
commit e8869cefdb
1 changed files with 2 additions and 2 deletions

View File

@ -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));