diff --git a/src/OpenMesh/Core/Geometry/Vector11T.hh b/src/OpenMesh/Core/Geometry/Vector11T.hh index 1a5fcf23..796a9e9b 100644 --- a/src/OpenMesh/Core/Geometry/Vector11T.hh +++ b/src/OpenMesh/Core/Geometry/Vector11T.hh @@ -95,12 +95,12 @@ class VectorT { typedef VectorT vector_type; /// returns dimension of the vector (deprecated) - static inline int dim() { + static constexpr int dim() { return DIM; } /// returns dimension of the vector - static inline size_t size() { + static constexpr size_t size() { return DIM; }