diff options
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r-- | Eigen/src/Core/util/Memory.h | 2 | ||||
-rwxr-xr-x | Eigen/src/Core/util/Meta.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index 1b12544d2..f1d1d0fff 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -213,7 +213,7 @@ EIGEN_DEVICE_FUNC inline void aligned_free(void *ptr) */ inline void* aligned_realloc(void *ptr, std::size_t new_size, std::size_t old_size) { - EIGEN_UNUSED_VARIABLE(old_size); + EIGEN_UNUSED_VARIABLE(old_size) void *result; #if (EIGEN_DEFAULT_ALIGN_BYTES==0) || EIGEN_MALLOC_ALREADY_ALIGNED diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index 68452ecfa..7932c8df6 100755 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -688,7 +688,7 @@ bool not_equal_strict(const double& x,const double& y) { return std::not_equal_t EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC unsigned int as_uint(float x) { unsigned int ret; - EIGEN_USING_STD(memcpy); + EIGEN_USING_STD(memcpy) memcpy(&ret, &x, sizeof(float)); return ret; } |