Fix broken compile on Linux/Mac

Template instantiations need to follow the template definitions or you
don't get all of the template members, just the ones called from within
the file
This commit is contained in:
Seth Hillbrand 2022-07-31 19:49:28 -07:00
parent e8627c89df
commit 4074409890
1 changed files with 4 additions and 3 deletions

View File

@ -34,9 +34,6 @@
using CATEGORY = SIM_MODEL::PARAM::CATEGORY;
template class DIALOG_SIM_MODEL<SCH_FIELD>;
template class DIALOG_SIM_MODEL<LIB_FIELD>;
template <typename T>
DIALOG_SIM_MODEL<T>::DIALOG_SIM_MODEL( wxWindow* aParent, SCH_SYMBOL& aSymbol,
std::vector<T>& aFields )
@ -981,3 +978,7 @@ void DIALOG_SIM_MODEL<T>::onParamGridSelectionChange( wxPropertyGridEvent& aEven
editorControl->SetFocus();
m_prevParamGridSelection = grid->GetSelection();
}
template class DIALOG_SIM_MODEL<SCH_FIELD>;
template class DIALOG_SIM_MODEL<LIB_FIELD>;