From 4f26ab927ff59c74122f555f913d0866a7737366 Mon Sep 17 00:00:00 2001 From: ergo720 <45463469+ergo720@users.noreply.github.com> Date: Tue, 12 Oct 2021 17:22:52 +0200 Subject: [PATCH] Fixed explicit instantiation of undefined function template 'BindDefault' --- src/common/input/EmuDevice.cpp | 2 ++ src/common/input/EmuDevice.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/input/EmuDevice.cpp b/src/common/input/EmuDevice.cpp index 3b4caf5ce..03491d240 100644 --- a/src/common/input/EmuDevice.cpp +++ b/src/common/input/EmuDevice.cpp @@ -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& arr); diff --git a/src/common/input/EmuDevice.h b/src/common/input/EmuDevice.h index e9a914467..c7c8b716c 100644 --- a/src/common/input/EmuDevice.h +++ b/src/common/input/EmuDevice.h @@ -53,4 +53,4 @@ private: HWND m_tooltip_hwnd; }; -template void EmuDevice::BindDefault(const std::array &arr); +extern template void EmuDevice::BindDefault(const std::array &arr);