CGuiTextSupport: Use const references where applicable

This commit is contained in:
Lioncash 2020-04-23 02:36:45 -04:00
parent a21fb1da35
commit 787fc3276f
1 changed files with 1 additions and 1 deletions

View File

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