Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Aug 14, 2024
1 parent b4c58e0 commit d13f790
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 86 deletions.
1 change: 0 additions & 1 deletion include/loki/details/pddl/equal_to.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#define LOKI_INCLUDE_LOKI_PDDL_EQUAL_TO_HPP_

#include "loki/details/pddl/declarations.hpp"
#include "loki/details/utils/concepts.hpp"

#include <functional>
#include <variant>
Expand Down
9 changes: 3 additions & 6 deletions include/loki/details/pddl/hash.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#define LOKI_INCLUDE_LOKI_PDDL_HASH_HPP_

#include "loki/details/pddl/declarations.hpp"
#include "loki/details/utils/concepts.hpp"
#include "loki/details/utils/unique_factory.hpp"

#include <cstddef>
#include <cstdint>
Expand Down Expand Up @@ -79,11 +77,10 @@ struct UniquePDDLHasher<ForwardRange>
};

/// Spezialization for std::variant.
template<typename Variant>
requires IsVariant<Variant>
struct UniquePDDLHasher<Variant>
template<typename... Ts>
struct UniquePDDLHasher<std::variant<Ts...>>
{
size_t operator()(const Variant& variant) const
size_t operator()(const std::variant<Ts...>& variant) const
{
return std::visit([](const auto& arg) { return UniquePDDLHasher<decltype(arg)>()(arg); }, variant);
}
Expand Down
79 changes: 0 additions & 79 deletions include/loki/details/utils/concepts.hpp

This file was deleted.

0 comments on commit d13f790

Please sign in to comment.