Skip to content

Commit

Permalink
remove const from id getter
Browse files Browse the repository at this point in the history
  • Loading branch information
jubicker committed Jan 13, 2025
1 parent a106505 commit 34ebe3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/models/abm/person.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion cpp/models/abm/person.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 34ebe3b

Please sign in to comment.