diff --git a/src/factory/PVDataCreateFactory.cpp b/src/factory/PVDataCreateFactory.cpp index cc04346..6dfff7d 100644 --- a/src/factory/PVDataCreateFactory.cpp +++ b/src/factory/PVDataCreateFactory.cpp @@ -60,6 +60,10 @@ template<> const ScalarType PVFloatArray::typeCode = pvFloat; template<> const ScalarType PVDoubleArray::typeCode = pvDouble; template<> const ScalarType PVStringArray::typeCode = pvString; + +template +PVScalarValue::~PVScalarValue() {} + template void PVScalarValue::serialize(ByteBuffer *pbuffer, SerializableControl *pflusher) const { diff --git a/src/pv/pvData.h b/src/pv/pvData.h index 27ecb67..66e49f4 100644 --- a/src/pv/pvData.h +++ b/src/pv/pvData.h @@ -420,7 +420,7 @@ public: /** * Destructor */ - virtual ~PVScalarValue() {} + virtual ~PVScalarValue(); /** * Get the value. * @return The value.