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:
parent
e8627c89df
commit
4074409890
|
@ -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>;
|
||||
|
|
Loading…
Reference in New Issue