-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include "PyInterp.h"
template<class T>
-class PYINTERP_EXPORT PyInterp_Auto
+class PyInterp_Auto
{
public:
PyInterp_Auto(const PyInterp_Auto& other):_ptr(0) { referPtr(other._ptr); }
{
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
{
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: