Declare explicit specializations

Resolves duplicate symbol build error on MinGW.
This commit is contained in:
Andrew Johnson
2016-02-05 13:39:09 -06:00
parent 5c16357fe2
commit c3d7fa0d26

View File

@@ -436,6 +436,16 @@ private:
friend class PVDataCreate;
};
/**
* @brief Some explicit specializations exist (defined in PVScalar.cpp)
*/
template<>
std::ostream& PVScalarValue<int8>::dumpValue(std::ostream& o) const;
template<>
std::ostream& PVScalarValue<uint8>::dumpValue(std::ostream& o) const;
template<>
std::ostream& PVScalarValue<boolean>::dumpValue(std::ostream& o) const;
/**
* typedefs for the various possible scalar types.
*/