diff options
Diffstat (limited to 'src/engine/Engine.cpp')
-rw-r--r-- | src/engine/Engine.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/engine/Engine.cpp b/src/engine/Engine.cpp index 691f789a..9bbc74f3 100644 --- a/src/engine/Engine.cpp +++ b/src/engine/Engine.cpp @@ -43,10 +43,13 @@ #include "ThreadManager.hpp" #include "shared/Store.hpp" #include "tuning.hpp" + using namespace std; namespace Ingen { +using namespace Shared; + Engine::Engine(Ingen::Shared::World* world) : _world(world) @@ -63,7 +66,7 @@ Engine::Engine(Ingen::Shared::World* world) if (world->store) { assert(PtrCast<EngineStore>(world->store)); } else { - world->store = SharedPtr<Store>(new EngineStore()); + world->store = SharedPtr<Shared::Store>(new EngineStore()); } } @@ -128,7 +131,7 @@ Engine::set_driver(DataType type, SharedPtr<Driver> driver) int Engine::main() { - Thread::get().set_context(THREAD_POST_PROCESS); + Raul::Thread::get().set_context(THREAD_POST_PROCESS); // Loop until quit flag is set (by OSCReceiver) while ( ! _quit_flag) { |