Commit 0e8c46ab authored by Max Lyon's avatar Max Lyon

add missing include and is_double function

parent 63dd9974
Pipeline #13497 failed with stages
in 145 minutes and 6 seconds
......@@ -246,6 +246,16 @@ namespace OMFormat {
}
//-----------------------------------------------------------------------------
template<>
bool is_double<double>(const double&)
{
return true;
}
} // namespace OMFormat
// --------------------------------------------------------------------------
......
......@@ -350,6 +350,13 @@ namespace OMFormat {
#endif
}
template <typename T> bool is_double(const T&)
{
return false;
}
template <> bool is_double<double>(const double&);
template <typename T> bool is_integer(const T)
{
#if defined(OM_MISSING_HEADER_LIMITS)
......
......@@ -65,6 +65,7 @@
#include <OpenMesh/Core/Utils/vector_cast.hh>
#include <OpenMesh/Core/Utils/color_cast.hh>
#include <OpenMesh/Core/IO/exporter/BaseExporter.hh>
#include <OpenMesh/Core/IO/OMFormat.hh>
//=== NAMESPACES ==============================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment