aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h
diff options
context:
space:
mode:
authorGravatar Ville Kallioniemi <ville.kallioniemi@gmail.com>2016-02-02 16:45:12 -0700
committerGravatar Ville Kallioniemi <ville.kallioniemi@gmail.com>2016-02-02 16:45:12 -0700
commit783018d8f65faeec0fc6f795bc2630240ecdd051 (patch)
tree85c587ddde7642aa720bf36f0841505bdd4da6af /unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h
parentff0a83aaf886e5edc563deb76faedfbaf11ceb5e (diff)
Use EIGEN_STATIC_ASSERT for backward compatibility.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h
index 981515f4b..52d5b7b1a 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h
@@ -36,8 +36,8 @@ struct TensorUInt128
template<typename OTHER_HIGH, typename OTHER_LOW>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
TensorUInt128(const TensorUInt128<OTHER_HIGH, OTHER_LOW>& other) : high(other.high), low(other.low) {
- static_assert(sizeof(OTHER_HIGH) <= sizeof(HIGH), "high too wide");
- static_assert(sizeof(OTHER_LOW) <= sizeof(LOW), "low too wide");
+ EIGEN_STATIC_ASSERT(sizeof(OTHER_HIGH) <= sizeof(HIGH), "high too wide");
+ EIGEN_STATIC_ASSERT(sizeof(OTHER_LOW) <= sizeof(LOW), "low too wide");
}
template<typename T>