From c3d7fa0d26180b801d6c81f5c63492c25827dca6 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 5 Feb 2016 13:39:09 -0600 Subject: [PATCH] Declare explicit specializations Resolves duplicate symbol build error on MinGW. --- src/pv/pvData.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/pv/pvData.h b/src/pv/pvData.h index d89c1fd..9cca66a 100644 --- a/src/pv/pvData.h +++ b/src/pv/pvData.h @@ -436,6 +436,16 @@ private: friend class PVDataCreate; }; +/** + * @brief Some explicit specializations exist (defined in PVScalar.cpp) + */ +template<> + std::ostream& PVScalarValue::dumpValue(std::ostream& o) const; +template<> + std::ostream& PVScalarValue::dumpValue(std::ostream& o) const; +template<> + std::ostream& PVScalarValue::dumpValue(std::ostream& o) const; + /** * typedefs for the various possible scalar types. */