aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/IntegralConstant.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-10-03 14:16:21 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-10-03 14:16:21 +0200
commit2b2b4d0580dd9a46790b16909aec607b18dd7b9e (patch)
tree35519eba48dc3182fd547fc86c28624e550b22cf /Eigen/src/Core/util/IntegralConstant.h
parentc5f1d0a72a1bcf7bd72db7c5d01078723ffc7554 (diff)
fix unused warning
Diffstat (limited to 'Eigen/src/Core/util/IntegralConstant.h')
-rw-r--r--Eigen/src/Core/util/IntegralConstant.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/IntegralConstant.h b/Eigen/src/Core/util/IntegralConstant.h
index bf99cd8ab..caeea232d 100644
--- a/Eigen/src/Core/util/IntegralConstant.h
+++ b/Eigen/src/Core/util/IntegralConstant.h
@@ -55,7 +55,9 @@ public:
operator int() const { return value; }
FixedInt() {}
FixedInt( VariableAndFixedInt<N> other) {
- EIGEN_ONLY_USED_FOR_DEBUG(other);
+ #ifndef EIGEN_INTERNAL_DEBUGGING
+ EIGEN_UNUSED_VARIABLE(other);
+ #endif
eigen_internal_assert(int(other)==N);
}