Mercurial > hg > orthanc-python
diff Sources/StorageArea.cpp @ 80:ad31ac9a6fef
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Aug 2021 18:07:22 +0200 |
parents | 068551520123 |
children | eb6ac5a801d1 |
line wrap: on
line diff
--- a/Sources/StorageArea.cpp Thu Aug 12 17:52:17 2021 +0200 +++ b/Sources/StorageArea.cpp Thu Aug 12 18:07:22 2021 +0200 @@ -30,7 +30,7 @@ static OrthancPluginErrorCode RunCallback(PythonLock& lock, PyObject* callback, - PythonObject& args, + const PythonObject& args, const std::string& name) { PythonObject result(lock, PyObject_CallObject(callback, args.GetPyObject()));