2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 17:32:55 +00:00
[SVN r8057]
This commit is contained in:
Dave Abrahams
2000-10-28 22:34:29 +00:00
parent 67935e2e93
commit 966534e709

View File

@@ -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());
}