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

Add missing const qualifier

[SVN r8046]
This commit is contained in:
Dave Abrahams
2000-10-28 21:31:06 +00:00
parent 239b177815
commit 3f988be052

View File

@@ -152,7 +152,7 @@ BoundFunction::call(PyObject* args, PyObject* keywords) const
return PyEval_CallObjectWithKeywords(m_unbound_function.get(), all_arguments.get(), keywords);
}
PyObject* BoundFunction::getattr(const char* name)
PyObject* BoundFunction::getattr(const char* name) const
{
return PyObject_GetAttrString(m_unbound_function.get(), const_cast<char*>(name));
}