diff --git a/Source/UI/Layout/WindowCoordinates.cpp b/Source/UI/Layout/WindowCoordinates.cpp index 2369e5707..29e65447b 100644 --- a/Source/UI/Layout/WindowCoordinates.cpp +++ b/Source/UI/Layout/WindowCoordinates.cpp @@ -3,6 +3,8 @@ #include +template std::_List_node* std::list::_Emplace(std::_List_node* const, UIWindow* const&); + // OFFSET: 0x00AF64A0 // FUNCTION: fn_18253 bool WindowBoundsOverlap(const int first[4], const int second[4]) { diff --git a/Source/UI/Window/UIWindowFactory.cpp b/Source/UI/Window/UIWindowFactory.cpp index 7bdb80b94..2cd16f396 100644 --- a/Source/UI/Window/UIWindowFactory.cpp +++ b/Source/UI/Window/UIWindowFactory.cpp @@ -12,6 +12,8 @@ #include +extern template std::_List_node* std::list::_Emplace(std::_List_node* const, UIWindow* const&); + // GLOBAL: gl_25184 bool g_searchStoreInfoCreated; diff --git a/Source/UI/Window/WindowRegistration.cpp b/Source/UI/Window/WindowRegistration.cpp index 4b604e1e5..070a91593 100644 --- a/Source/UI/Window/WindowRegistration.cpp +++ b/Source/UI/Window/WindowRegistration.cpp @@ -1,6 +1,8 @@ #include "UI/Window/UIWindow.h" #include "UI/Window/UIWindowMgr.h" +extern template std::_List_node* std::list::_Emplace(std::_List_node* const, UIWindow* const&); + // OFFSET: 0x00A8B060 // FUNCTION: fn_17120 void UIWindowMgr::RegisterWindow(UIWindow* window) { diff --git a/Source/UI/Window/WindowRetirement.cpp b/Source/UI/Window/WindowRetirement.cpp index 5d8bf433f..13982ed6b 100644 --- a/Source/UI/Window/WindowRetirement.cpp +++ b/Source/UI/Window/WindowRetirement.cpp @@ -5,6 +5,8 @@ #include +extern template std::_List_node* std::list::_Emplace(std::_List_node* const, UIWindow* const&); + // OFFSET: 0x00AA2C90 // FUNCTION: fn_17219 __declspec(noinline) void UIWindowMgr::Schedule(UIWindow* window) {