Add explicit instanciations

This commit is contained in:
Magne Sjaastad 2024-04-01 16:56:33 +02:00
parent a985ec005c
commit 67eab23d18
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#include "cafPdmObjectGroup.h"
#include "cafInternalPdmXmlFieldCapability.h"
#include "cafPdmValueField.h"
#include <QFile>
@ -63,3 +64,8 @@ PdmObjectCollection::~PdmObjectCollection()
}
} // End of namespace caf
template class caf::PdmDataValueField<int>;
template class caf::PdmDataValueField<bool>;
template class caf::PdmDataValueField<QString>;
template class caf::PdmDataValueField<double>;

View File

@ -1,6 +1,7 @@
#pragma once
#include "cafPdmChildArrayField.h"
#include "cafPdmDataValueField.h"
#include "cafPdmObject.h"
#include <QXmlStreamWriter>
@ -79,3 +80,8 @@ public:
};
} // End of namespace caf
extern template class caf::PdmDataValueField<int>;
extern template class caf::PdmDataValueField<bool>;
extern template class caf::PdmDataValueField<QString>;
extern template class caf::PdmDataValueField<double>;