changeset 80:ad31ac9a6fef

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Aug 2021 18:07:22 +0200
parents 068551520123
children 347af6f3d63a 01df28d28247
files Sources/StorageArea.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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()));