Skip to content

Commit

Permalink
fix clang tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightguth committed Oct 23, 2024
1 parent c66c8ab commit f7e5cc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ast/definition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SymbolMap kore_definition::get_overloads() const {
static void process_sort_ordinal(
kore_sort *sort,
std::unordered_map<kore_composite_sort, uint32_t, hash_sort> &sorts,
std::vector<kore_composite_sort *> &all_sorts_, uint32_t &next_sort) {
std::vector<kore_composite_sort *> &all_sorts, uint32_t &next_sort) {
// We use a work list to ensure that parametric sorts get ordinals
// that are greater than the ordinals of any of their parameters.
// This invariant is usefull for serialization purposes, and given
Expand Down Expand Up @@ -204,7 +204,7 @@ static void process_sort_ordinal(
}

sorts.emplace(*sort_to_process, next_sort++);
all_sorts_.push_back(sort_to_process);
all_sorts.push_back(sort_to_process);
}

sort_to_process->set_ordinal(sorts[*sort_to_process]);
Expand Down

0 comments on commit f7e5cc3

Please sign in to comment.