Skip to content

Commit

Permalink
remove filepath from identifying members
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Dec 23, 2024
1 parent a309574 commit a029bfd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions include/loki/details/pddl/domain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ class DomainImpl

auto identifiable_members() const
{
return std::forward_as_tuple(std::as_const(m_filepath),
std::as_const(m_name),
return std::forward_as_tuple(std::as_const(m_name),
std::as_const(m_requirements),
std::as_const(m_types),
std::as_const(m_constants),
Expand Down
3 changes: 1 addition & 2 deletions include/loki/details/pddl/problem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ class ProblemImpl

auto identifiable_members() const
{
return std::forward_as_tuple(std::as_const(m_filepath),
std::as_const(m_domain),
return std::forward_as_tuple(std::as_const(m_domain),
std::as_const(m_name),
std::as_const(m_requirements),
std::as_const(m_objects),
Expand Down
2 changes: 1 addition & 1 deletion include/loki/details/utils/hash.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ struct Hash<std::optional<T>>
* Definitions
*/

/// @brief Computes that hash for an object and combines it into the seed using Boost's hash combine function.
/// @brief Computes that hash for and object and combines it into the seed using Boost's hash combine function.
/// @tparam T is the type of the object.
/// @param seed is the seed.
/// @param value is the object.
Expand Down

0 comments on commit a029bfd

Please sign in to comment.