mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
Bug fix
[SVN r8057]
This commit is contained in:
@@ -120,14 +120,14 @@ class TypeObject : public TypeObjectBase
|
||||
typedef T Instance;
|
||||
|
||||
TypeObject(PyTypeObject* type_type, const char* name)
|
||||
: Base(type_type)
|
||||
: TypeObjectBase(type_type)
|
||||
{
|
||||
assert(name != 0);
|
||||
this->tp_name = const_cast<char*>(name);
|
||||
}
|
||||
|
||||
TypeObject(PyTypeObject* type_type)
|
||||
: Base(type_type)
|
||||
: TypeObjectBase(type_type)
|
||||
{
|
||||
this->tp_name = const_cast<char*>(typeid(Instance).name());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user