summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewtexture.cpp
diff options
context:
space:
mode:
authorAiraYumi <aira.youme@airanyumi.net>2024-01-06 23:29:06 +0900
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-01-08 23:29:21 +0200
commit7c8907522fe6600918dacc15ee138ca72b2cf35e (patch)
tree89faecf942331de07a1fa8b8c60a04e0e2c74139 /indra/newview/llpreviewtexture.cpp
parent5a829048827a1b496401db5b715554694436fd9a (diff)
replace boost library to standard
Diffstat (limited to 'indra/newview/llpreviewtexture.cpp')
-rw-r--r--indra/newview/llpreviewtexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp
index 975e2bb910..ea7d4800e0 100644
--- a/indra/newview/llpreviewtexture.cpp
+++ b/indra/newview/llpreviewtexture.cpp
@@ -653,7 +653,7 @@ void LLPreviewTexture::adjustAspectRatio()
{
// No existing ratio found, create an element that will show image at original ratio
populateRatioList(); // makes sure previous custom ratio is cleared
- std::string ratio = boost::lexical_cast<std::string>(num)+":" + boost::lexical_cast<std::string>(denom);
+ std::string ratio = std::to_string(num)+":" + std::to_string(denom);
mRatiosList.push_back(ratio);
combo->add(ratio);
combo->setCurrentByIndex(mRatiosList.size()- 1);