Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
9b72611d
Commit
9b72611d
authored
Oct 25, 2016
by
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
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
ACG/Math/Matrix3x3T.hh
View file @
9b72611d
...
...
@@ -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_ */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment