2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-31 08:22:18 +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

@@ -36,20 +36,20 @@ public:
class symbol_wrapper: public symbol {
public:
symbol_wrapper(PyObject* self): symbol() {
symbol_wrapper(PyObject* /*self*/): symbol() {
name = "cltree.wrapped_symbol";
}
};
class variable_wrapper: public variable {
public:
variable_wrapper(PyObject* self): variable() {
variable_wrapper(PyObject* /*self*/): variable() {
name = "cltree.wrapped_variable";
}
// This constructor is introduced only because cannot use
// boost::noncopyable, see below.
variable_wrapper(PyObject* self,variable v): variable(v) {}
variable_wrapper(PyObject* /*self*/,variable v): variable(v) {}
};