Salome HOME
updated copyright message
[modules/gui.git] / tools / PyInterp / src / PyInterp_RefCounterObj.h
index 0afd178dec6e487e6922e8c39f78d27b5f6b9357..0e0dbd269c14f1e2346cb128df867abd302fc31f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -58,7 +58,7 @@ class PYINTERP_EXPORT PyInterp_RefCounterObj
 {
  protected:
   PyInterp_RefCounterObj():_cnt(1) { }
-  PyInterp_RefCounterObj(const PyInterp_RefCounterObj& other):_cnt(1) { }
+  PyInterp_RefCounterObj(const PyInterp_RefCounterObj& /*other*/):_cnt(1) { }
  public:
   bool decrRef() const
   {
@@ -70,7 +70,7 @@ class PYINTERP_EXPORT PyInterp_RefCounterObj
   void incrRef() const { _cnt++; }
   int getRCValue() const { return _cnt; }
   // copies using operator= should not copy the ref counter of \a other 
-  PyInterp_RefCounterObj& operator=(const PyInterp_RefCounterObj& other) { return *this; }
+  PyInterp_RefCounterObj& operator=(const PyInterp_RefCounterObj& /*other*/) { return *this; }
  protected:
   virtual ~PyInterp_RefCounterObj() { }
  private: