Add const for Vertex id and getter

This commit is contained in:
2024-12-25 21:27:27 +01:00
parent d314b2fc70
commit c777bad38a
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ Vertex::Vertex(const std::string id)
{
}
std::string Vertex::getId() const
const std::string Vertex::getId() const
{
return id_;
}