History

Style and const updates

arr committed 10 years ago

Commit 9c1abd61 parent 28f98c33 files · +23 −27Browse files

Showing the changes to src/vm/vm.cpp (1 of 3 files). Show all

Unified · Split

src/vm/vm.cpp+0−4
@@ -33,13 +33,9 @@ vm_t::vm_t( · 32 unmodified lines
33 _gc = create_gc(*this);33 _gc = create_gc(*this);
34 34
35 if (create_scheduler == nullptr)35 if (create_scheduler == nullptr)
36 {
37 _scheduler = std::make_unique<default_scheduler_t>(*this, default_system_thread_count, default_thread_quanta);36 _scheduler = std::make_unique<default_scheduler_t>(*this, default_system_thread_count, default_thread_quanta);
38 }
39 else37 else
40 {
41 _scheduler = create_scheduler(*this);38 _scheduler = create_scheduler(*this);
42 }
43}39}
44 40
45vm_t::vm_t(uint32_t system_thread_count, uint32_t thread_quanta)41vm_t::vm_t(uint32_t system_thread_count, uint32_t thread_quanta)