2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

avoid g++ -Wall -W "unused parameter" warnings

[SVN r32373]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2006-01-22 19:29:32 +00:00
parent c181874335
commit 0519d54229
5 changed files with 15 additions and 12 deletions

View File

@@ -41,8 +41,8 @@ int X::counter;
struct Y : X
{
Y(PyObject* self, int x) : X(x) {};
Y(PyObject* self, Y const& rhs) : X(rhs), self(self) {};
Y(PyObject* self, int x) : X(x), self(self) {}
Y(PyObject* self, Y const& rhs) : X(rhs), self(self) {}
private:
Y(Y const&);
PyObject* self;
@@ -50,8 +50,8 @@ struct Y : X
struct Z : X
{
Z(PyObject* self, int x) : X(x) {};
Z(PyObject* self, Z const& rhs) : X(rhs), self(self) {};
Z(PyObject* self, int x) : X(x), self(self) {}
Z(PyObject* self, Z const& rhs) : X(rhs), self(self) {}
private:
Z(Z const&);
PyObject* self;