Commit 9b72611d authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Trying to fix Visual Studio 2013 lack of constexpr.

parent ef240480
Pipeline #3355 failed with stage
in 36 minutes and 23 seconds
......@@ -7,6 +7,10 @@
#include <algorithm>
#include <cmath>
#if defined(_MSC_VER) && _MSC_VER < 1900
#define constexpr
#endif
namespace ACG {
/**
......@@ -244,6 +248,10 @@ class Matrix3x3T {
typedef Matrix3x3T<float> Matrix3x3f;
typedef Matrix3x3T<double> Matrix3x3d;
}
} /* namespace ACG */
#if defined(_MSC_VER) && _MSC_VER < 1900
#undef constexpr
#endif
#endif /* ACG_MATH_MATRIX3X3T_HH_ */
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