tdf / libcmis

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

cppcheck: fix constVariablePointer #60

Closed serval2412 closed 8 months ago

serval2412 commented 8 months ago

src/libcmis/atom-document.cxx:303:15: style: Variable 'link' can be declared as pointer to const [constVariablePointer] src/libcmis/atom-document.cxx:397:15: style: Variable 'link' can be declared as pointer to const [constVariablePointer] src/libcmis/atom-folder.cxx:63:15: style: Variable 'childrenLink' can be declared as pointer to const [constVariablePointer] src/libcmis/atom-folder.cxx:266:15: style: Variable 'treeLink' can be declared as pointer to const [constVariablePointer] src/libcmis/atom-object.cxx:260:15: style: Variable 'destChildrenLink' can be declared as pointer to const [constVariablePointer] src/libcmis/atom-object.cxx:314:15: style: Variable 'selfLink' can be declared as pointer to const [constVariablePointer] src/libcmis/ws-object-type.cxx:69:25: style: Variable 'other' can be declared as pointer to const [constVariablePointer] src/libcmis/ws-object.cxx:108:21: style: Variable 'other' can be declared as pointer to const [constVariablePointer]