diff --git a/cpp/models/abm/person.cpp b/cpp/models/abm/person.cpp index 5f20ed5e8f..87cc2a838f 100755 --- a/cpp/models/abm/person.cpp +++ b/cpp/models/abm/person.cpp @@ -208,7 +208,7 @@ PersonId Person::get_id() const return m_person_id; } -const uint64_t Person::get_unique_id() const +uint64_t Person::get_unique_id() const { return m_unique_id; } diff --git a/cpp/models/abm/person.h b/cpp/models/abm/person.h index a9a17ec05a..622ca98cdf 100755 --- a/cpp/models/abm/person.h +++ b/cpp/models/abm/person.h @@ -295,7 +295,7 @@ class Person * This id is only relevant for the graph abm and otherwise corresponds to the PersonId. * @return The unique id. */ - const uint64_t get_unique_id() const; + uint64_t get_unique_id() const; /** * @brief Set the PersonId of the Person.