CTextExecuteBuffer: Move initialization of xa8_curWordIt into initializer list

This commit is contained in:
Lioncash 2020-04-13 16:18:38 -04:00
parent 50ba80247b
commit 786675f307
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ class CTextExecuteBuffer {
u32 xd8_ = 0; u32 xd8_ = 0;
public: public:
CTextExecuteBuffer() { xa8_curWordIt = x0_instList.begin(); } CTextExecuteBuffer() : xa8_curWordIt{x0_instList.begin()} {}
CTextRenderBuffer BuildRenderBuffer(CGuiWidget::EGuiModelDrawFlags df) const; CTextRenderBuffer BuildRenderBuffer(CGuiWidget::EGuiModelDrawFlags df) const;
CTextRenderBuffer BuildRenderBufferPage(InstList::const_iterator start, InstList::const_iterator pgStart, CTextRenderBuffer BuildRenderBufferPage(InstList::const_iterator start, InstList::const_iterator pgStart,

2
hecl

@ -1 +1 @@
Subproject commit 29c768f8231fac3b1c6812829faa42457e98b47f Subproject commit f64ed44fe8164b06ed5bef6344d9f743e2c5d638