2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-04 19:15:52 +00:00

CGuiTextSupport: Use const references where applicable

This commit is contained in:
Lioncash 2020-04-23 02:36:45 -04:00
parent a21fb1da35
commit 787fc3276f

View File

@ -211,7 +211,7 @@ const std::pair<zeus::CVector2i, zeus::CVector2i>& CGuiTextSupport::GetBounds()
} }
void CGuiTextSupport::AutoSetExtent() { void CGuiTextSupport::AutoSetExtent() {
auto& bounds = GetBounds(); const auto& bounds = GetBounds();
x34_extentX = bounds.second.x; x34_extentX = bounds.second.x;
x38_extentY = bounds.second.y; x38_extentY = bounds.second.y;
} }