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:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user