Skip to content

Commit

Permalink
ProgramMemory: no longer offer mutable iterators
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Aug 1, 2024
1 parent d5b4b04 commit ca02c72
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/programmemory.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,6 @@ struct CPPCHECKLIB ProgramMemory {

void replace(ProgramMemory pm);

Map::iterator begin() {
copyOnWrite();

return mValues->begin();
}

Map::iterator end() {
copyOnWrite();

return mValues->end();
}

Map::const_iterator begin() const {
return mValues->cbegin();
}
Expand Down

0 comments on commit ca02c72

Please sign in to comment.