mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 05:02:17 +00:00
fix for char* -> const char* conversion (g++ diagnostic)
[SVN r24105]
This commit is contained in:
@@ -29,7 +29,8 @@ namespace detail
|
||||
&& class_object->tp_dict != 0
|
||||
)
|
||||
{
|
||||
borrowed_f = ::PyDict_GetItemString(class_object->tp_dict, name);
|
||||
borrowed_f = ::PyDict_GetItemString(
|
||||
class_object->tp_dict, const_cast<char*>(name));
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user