diff Sources/PythonFunction.h @ 13:952e969a2240

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Apr 2020 08:19:13 +0200
parents 7ed502b17b8f
children fd58eb5749ed
line wrap: on
line diff
--- a/Sources/PythonFunction.h	Tue Mar 31 18:18:58 2020 +0200
+++ b/Sources/PythonFunction.h	Wed Apr 01 08:19:13 2020 +0200
@@ -38,7 +38,7 @@
 
 public:
   PythonFunction(PythonLock& lock,
-                 PythonModule& module,
+                 const PythonModule& module,
                  const std::string& name);
 
   bool IsValid() const
@@ -48,7 +48,7 @@
 
   PythonObject* Call();
 
-  PythonObject* Call(PythonObject& args);
+  PythonObject* Call(const PythonObject& args);
 
   void CallVoid()
   {