diff --git a/src/OpenMesh/Core/IO/OMFormat.cc b/src/OpenMesh/Core/IO/OMFormat.cc index ffe0ffc6..abebc177 100644 --- a/src/OpenMesh/Core/IO/OMFormat.cc +++ b/src/OpenMesh/Core/IO/OMFormat.cc @@ -249,13 +249,6 @@ namespace OMFormat { //----------------------------------------------------------------------------- - template<> - bool is_double(const double&) - { - return true; - } - - } // namespace OMFormat // -------------------------------------------------------------------------- diff --git a/src/OpenMesh/Core/IO/OMFormat.hh b/src/OpenMesh/Core/IO/OMFormat.hh index d66f35d2..0bc8e3da 100644 --- a/src/OpenMesh/Core/IO/OMFormat.hh +++ b/src/OpenMesh/Core/IO/OMFormat.hh @@ -355,7 +355,10 @@ namespace OMFormat { return false; } - template <> bool is_double(const double&); + template <> inline bool is_double(const double&) + { + return true; + } template bool is_integer(const T) {