# HG changeset patch # User Sebastien Jodogne # Date 1628784442 -7200 # Node ID ad31ac9a6fefd2e52f4f99182a33bf0ff4082057 # Parent 0685515201232264aeb825a77fad1ae5c4a53bc0 cppcheck diff -r 068551520123 -r ad31ac9a6fef Sources/StorageArea.cpp --- 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()));