aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util
diff options
context:
space:
mode:
authorGravatar Alexander Neumann <Alexander.Neumann@hamburg.de>2020-09-07 11:42:30 +0200
committerGravatar Alexander Neumann <Alexander.Neumann@hamburg.de>2020-09-07 11:42:30 +0200
commit5272106826f1b9a0b938878e06c6cebd12a26a9c (patch)
tree67add4faa1f505c489d267d948732a3a823f5ba8 /Eigen/src/Core/util
parent5f25bcf7d6918f5c6091fb4e961e5607e13b7324 (diff)
remove semi triggering -Wextra-semi-stmt
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r--Eigen/src/Core/util/Memory.h2
-rwxr-xr-xEigen/src/Core/util/Meta.h2
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;
}