summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llfloaterpathfindingcharacters.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llfloaterpathfindingcharacters.cpp b/indra/newview/llfloaterpathfindingcharacters.cpp
index ae023bc06e..fd84af74e1 100644
--- a/indra/newview/llfloaterpathfindingcharacters.cpp
+++ b/indra/newview/llfloaterpathfindingcharacters.cpp
@@ -473,9 +473,7 @@ void LLFloaterPathfindingCharacters::updateCharactersList()
columns[2]["font"] = "SANSSERIF";
S32 cpuTime = llround(character.getCPUTime());
- std::string cpuTimeString;
- LLResMgr::getInstance()->getIntegerString(cpuTimeString, cpuTime);
-
+ std::string cpuTimeString = llformat("%d", cpuTime);
LLStringUtil::format_map_t string_args;
string_args["[CPU_TIME]"] = cpuTimeString;