vm: fix VM constructor

db4
Slava Pestov 2009-10-05 04:31:35 -05:00
parent 95655c26b4
commit 718cb8b579
2 changed files with 2 additions and 5 deletions

View File

@ -224,7 +224,7 @@ struct startargs {
factor_vm *new_factor_vm() factor_vm *new_factor_vm()
{ {
factor_vm *newvm = new factor_vm; factor_vm *newvm = new factor_vm();
register_vm_with_thread(newvm); register_vm_with_thread(newvm);
thread_vms[thread_id()] = newvm; thread_vms[thread_id()] = newvm;

View File

@ -3,9 +3,6 @@
namespace factor namespace factor
{ {
factor_vm::factor_vm() factor_vm::factor_vm() { }
{
memset(this,0,sizeof(factor_vm));
}
} }