Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runtime/Cpp/runtime/src/atn/LexerActionExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ size_t LexerActionExecutor::generateHashCode() const {
for (auto lexerAction : _lexerActions) {
hash = MurmurHash::update(hash, lexerAction);
}
MurmurHash::finish(hash, _lexerActions.size());
hash = MurmurHash::finish(hash, _lexerActions.size());

return hash;
}
2 changes: 2 additions & 0 deletions runtime/Cpp/runtime/src/misc/IntervalSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ IntervalSet::IntervalSet(int n, ...) : IntervalSet() {
for (int i = 0; i < n; i++) {
add(va_arg(vlist, int));
}

va_end(vlist);
}

IntervalSet::~IntervalSet()
Expand Down