summaryrefslogtreecommitdiff
path: root/src/utils/automata/dfa_minimizer.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 09:16:13 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 15:41:50 +0200
commit6832ded200f7a563b9e2cf81148fd26fdb064fdd (patch)
tree0f7aff13b0ac63dd16b15ff9329dbc2529355aa6 /src/utils/automata/dfa_minimizer.hpp
parentdb5519c663ad119a47cb7747f80109267c301156 (diff)
downloadjustbuild-6832ded200f7a563b9e2cf81148fd26fdb064fdd.tar.gz
Name classes, structs and enums using CamelCase.
Diffstat (limited to 'src/utils/automata/dfa_minimizer.hpp')
-rw-r--r--src/utils/automata/dfa_minimizer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/automata/dfa_minimizer.hpp b/src/utils/automata/dfa_minimizer.hpp
index d536bd8b..69bc0b52 100644
--- a/src/utils/automata/dfa_minimizer.hpp
+++ b/src/utils/automata/dfa_minimizer.hpp
@@ -51,7 +51,7 @@ class DFAMinimizer {
// Key used for state pairs. Reordering names will result in the same key.
class StatePairKey {
public:
- struct hash_t {
+ struct Hash {
[[nodiscard]] auto operator()(StatePairKey const& p) const
-> std::size_t {
std::size_t hash{};
@@ -91,7 +91,7 @@ class DFAMinimizer {
};
using state_pairs_t =
- std::unordered_map<StatePairKey, StatePairValue, StatePairKey::hash_t>;
+ std::unordered_map<StatePairKey, StatePairValue, StatePairKey::Hash>;
public:
using bisimulation_t = std::unordered_map<std::string, std::string>;