tdf / libcmis

C/C++ CMIS client library
GNU General Public License v2.0
21 stars 20 forks source link

cppcheck: fix useStlAlgorithm #59

Closed serval2412 closed 8 months ago

serval2412 commented 8 months ago

src/libcmis/gdrive-document.cxx:76:13: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] src/libcmis/gdrive-document.cxx:89:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] src/libcmis/gdrive-document.cxx:95:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] src/libcmis/json-utils.cxx:164:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm]

serval2412 commented 8 months ago

Is there anything I should change or is it ok?