mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
static const class members turned into constexpr
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
2c0ef43b48
commit
64909b82bd
@@ -132,13 +132,13 @@ namespace Eigen
|
||||
// that enum is not guerantee to support negative numbers
|
||||
|
||||
/** The first rotation axis */
|
||||
static const int AlphaAxis = _AlphaAxis;
|
||||
static constexpr int AlphaAxis = _AlphaAxis;
|
||||
|
||||
/** The second rotation axis */
|
||||
static const int BetaAxis = _BetaAxis;
|
||||
static constexpr int BetaAxis = _BetaAxis;
|
||||
|
||||
/** The third rotation axis */
|
||||
static const int GammaAxis = _GammaAxis;
|
||||
static constexpr int GammaAxis = _GammaAxis;
|
||||
|
||||
enum
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user