diff options
Diffstat (limited to 'public/map.h')
-rw-r--r-- | public/map.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/map.h b/public/map.h index fe6bc5c..1b71f9e 100644 --- a/public/map.h +++ b/public/map.h @@ -32,7 +32,7 @@ template <typename tScalar, MapOrder tOrder> class MatrixMap { public: typedef tScalar Scalar; - static const MapOrder kOrder = tOrder; + static constexpr MapOrder kOrder = tOrder; protected: Scalar* data_; // not owned. @@ -84,7 +84,7 @@ template <typename tScalar, VectorShape tShape> class VectorMap { public: typedef tScalar Scalar; - static const VectorShape kShape = tShape; + static constexpr VectorShape kShape = tShape; protected: Scalar* data_; // not owned. @@ -113,7 +113,7 @@ template <typename tScalar, VectorShape tShape> class VectorDup { public: typedef tScalar Scalar; - static const VectorShape kShape = tShape; + static constexpr VectorShape kShape = tShape; protected: Scalar data_; |