Remove redundant casts from c_str to string

Thanks Aru
This commit is contained in:
Lirusaito
2019-03-06 16:11:31 -05:00
parent cd02bbd1cb
commit 324f12641a
3 changed files with 6 additions and 6 deletions

View File

@@ -860,7 +860,7 @@ bool idle_startup()
{
LL_DEBUGS("AppInit") << "STATE_BROWSER_INIT" << LL_ENDL;
//std::string msg = LLTrans::getString("LoginInitializingBrowser");
//set_startup_status(0.03f, msg.c_str(), gAgent.mMOTD.c_str());
//set_startup_status(0.03f, msg.c_str(), gAgent.mMOTD);
display_startup();
// LLViewerMedia::initBrowser();
LLStartUp::setStartupState( STATE_LOGIN_SHOW );
@@ -2683,15 +2683,15 @@ bool idle_startup()
update_texture_fetch();
display_startup();
set_startup_status(0.9f + 0.1f * wearables_time / MAX_WEARABLES_TIME,
LLTrans::getString("LoginDownloadingClothing").c_str(),
gAgent.mMOTD.c_str());
LLTrans::getString("LoginDownloadingClothing"),
gAgent.mMOTD);
display_startup();
return TRUE;
}
if (STATE_CLEANUP == LLStartUp::getStartupState())
{
set_startup_status(1.0, "", "");
set_startup_status(1.0, LLStringUtil::null, LLStringUtil::null);
display_startup();
// Let the map know about the inventory.