From 4bf12f9621657df71bb60942052f78f53caa9d24 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Mon, 30 Jan 2023 16:09:10 +0100
Subject: [PATCH] core: add missing const

---
 include/eigenpy/utils/is-aligned.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/eigenpy/utils/is-aligned.hpp b/include/eigenpy/utils/is-aligned.hpp
index 2f2e892..cfc057f 100644
--- a/include/eigenpy/utils/is-aligned.hpp
+++ b/include/eigenpy/utils/is-aligned.hpp
@@ -1,12 +1,12 @@
 //
-// Copyright (c) 2020 INRIA
+// Copyright (c) 2020-2023 INRIA
 //
 
 #ifndef __eigenpy_utils_is_aligned_hpp__
 #define __eigenpy_utils_is_aligned_hpp__
 
 namespace eigenpy {
-inline bool is_aligned(void* ptr, std::size_t alignment) {
+inline bool is_aligned(const void* ptr, std::size_t alignment) {
   return (reinterpret_cast<std::size_t>(ptr) & (alignment - 1)) == 0;
 }
 }  // namespace eigenpy
-- 
GitLab