diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 09:16:13 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 15:41:50 +0200 |
commit | 6832ded200f7a563b9e2cf81148fd26fdb064fdd (patch) | |
tree | 0f7aff13b0ac63dd16b15ff9329dbc2529355aa6 /src/utils/automata/dfa_minimizer.hpp | |
parent | db5519c663ad119a47cb7747f80109267c301156 (diff) | |
download | justbuild-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.hpp | 4 |
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>; |