mirror of https://github.com/AxioDL/metaforce.git
CGuiTextSupport: Use const references where applicable
This commit is contained in:
parent
a21fb1da35
commit
787fc3276f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue