From 786675f307d21e62635c2f130e82ed9c57eeb447 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 13 Apr 2020 16:18:38 -0400 Subject: [PATCH] CTextExecuteBuffer: Move initialization of xa8_curWordIt into initializer list --- Runtime/GuiSys/CTextExecuteBuffer.hpp | 2 +- hecl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/GuiSys/CTextExecuteBuffer.hpp b/Runtime/GuiSys/CTextExecuteBuffer.hpp index eaf976e11..e7dd10e75 100644 --- a/Runtime/GuiSys/CTextExecuteBuffer.hpp +++ b/Runtime/GuiSys/CTextExecuteBuffer.hpp @@ -37,7 +37,7 @@ class CTextExecuteBuffer { u32 xd8_ = 0; public: - CTextExecuteBuffer() { xa8_curWordIt = x0_instList.begin(); } + CTextExecuteBuffer() : xa8_curWordIt{x0_instList.begin()} {} CTextRenderBuffer BuildRenderBuffer(CGuiWidget::EGuiModelDrawFlags df) const; CTextRenderBuffer BuildRenderBufferPage(InstList::const_iterator start, InstList::const_iterator pgStart, diff --git a/hecl b/hecl index 29c768f82..f64ed44fe 160000 --- a/hecl +++ b/hecl @@ -1 +1 @@ -Subproject commit 29c768f8231fac3b1c6812829faa42457e98b47f +Subproject commit f64ed44fe8164b06ed5bef6344d9f743e2c5d638