diff --git a/Source/UI/Lists/UIComboBoxEx.cpp b/Source/UI/Lists/UIComboBoxEx.cpp index b20bb538b..23ca6e697 100644 --- a/Source/UI/Lists/UIComboBoxEx.cpp +++ b/Source/UI/Lists/UIComboBoxEx.cpp @@ -13,6 +13,8 @@ #include +template __declspec(noinline) std::_Tree_find_result::_Mybase::_Nodeptr> std::map::_Mybase::_Find_lower_bound(const int&) const; + namespace { // INLINED unsigned Palette(int column, int row) { diff --git a/Source/UI/Lists/UIListBoxEx.h b/Source/UI/Lists/UIListBoxEx.h index d73e5ed14..e7b60c84d 100644 --- a/Source/UI/Lists/UIListBoxEx.h +++ b/Source/UI/Lists/UIListBoxEx.h @@ -9,8 +9,16 @@ class UIScrollBar; struct ExtendedListLine { + // INLINED + ExtendedListLine() : text(), color(0) { + } + + // INLINED + ExtendedListLine(const char* text, std::uint32_t color) : text(text), color(color) { + } + /* 0000 */ std::string text; - /* 0018 */ std::uint32_t color = 0; + /* 0018 */ std::uint32_t color; }; class UIListBoxEx : public UIWindow {