Skip to content

[liborigin] fixes and improvements recommended by cppcheck

Alexander Semke requested to merge work/liborigin-cppcheck-fixes into master

Description

Fixes and improvements recommended by cppcheck:

  • use const& for sibling iterators
  • don't use std::str.c_str() where std::str is already enough
  • fix out of bound access in notes[file_object_id] if file_object_id is equal to notes.size()

Conformity

When external dependencies are removed

  • Reporting to ...

Merge request reports