From ee64908ff7932ebaf7b0c2431a2d356fbcd94b18 Mon Sep 17 00:00:00 2001 From: Guido Ranzuglia Date: Tue, 6 Dec 2016 11:09:31 +0100 Subject: [PATCH] - added std prefix for linux compiler --- vcg/math/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/math/base.h b/vcg/math/base.h index 41c2b102..7772d8f4 100644 --- a/vcg/math/base.h +++ b/vcg/math/base.h @@ -196,7 +196,7 @@ template int IsNAN(T t) { return _isnan(t) || (!_finite(t)); } #elif defined(__MINGW32__) // GCC template int IsNAN(T t) { return std::isnan(t) || std::isinf(t); } #elif defined(__GNUC__) // GCC -template int IsNAN(T t) { return isnan(t) || isinf(t); } +template int IsNAN(T t) { return std::isnan(t) || std::isinf(t); } #else // generic template int IsNAN(T t)