allow multiple init's of EventParameters

This commit is contained in:
David Rose 2002-06-15 19:31:43 +00:00
parent 2cdc2242b8
commit 6274a02610
1 changed files with 3 additions and 3 deletions

View File

@ -90,10 +90,10 @@ public:
static TypeHandle get_class_type() {
return _type_handle;
}
static void init_type(const string &type_name = "EventStoreValue") {
static void init_type(const string &type_name = "UndefinedEventStoreValue") {
TypedReferenceCount::init_type();
register_type(_type_handle, type_name,
TypedReferenceCount::get_class_type());
_type_handle = register_dynamic_type
(type_name, TypedReferenceCount::get_class_type());
}
virtual TypeHandle get_type() const {
return get_class_type();