Fixed explicit instantiation of undefined function template 'BindDefault'

This commit is contained in:
ergo720 2021-10-12 17:22:52 +02:00
parent 309975da61
commit 4f26ab927f
2 changed files with 3 additions and 1 deletions

View File

@ -120,3 +120,5 @@ void EmuDevice::CreateTooltipWindow()
SendMessage(m_tooltip_hwnd, TTM_SETMAXTIPWIDTH, 0, 500);
SendMessage(m_tooltip_hwnd, TTM_SETDELAYTIME, TTDT_AUTOPOP, 15000);
}
template void EmuDevice::BindDefault(const std::array<const char*, XBOX_CTRL_NUM_BUTTONS>& arr);

View File

@ -53,4 +53,4 @@ private:
HWND m_tooltip_hwnd;
};
template void EmuDevice::BindDefault(const std::array<const char *, XBOX_CTRL_NUM_BUTTONS> &arr);
extern template void EmuDevice::BindDefault(const std::array<const char *, XBOX_CTRL_NUM_BUTTONS> &arr);