Commit 5f217ff8 authored by Joseph Noir's avatar Joseph Noir

Merge branch 'topic/opencl' of github.com:Neverlord/libcppa into topic/opencl

parents 584c3a48 3804557b
...@@ -187,10 +187,11 @@ class command_dispatcher { ...@@ -187,10 +187,11 @@ class command_dispatcher {
}; };
#else // CPPA_OPENCL #else // CPPA_OPENCL
class command_dispatcher : public detail::singleton_mixin<command_dispatcher> { class command_dispatcher : public detail::singleton_mixin<command_dispatcher> { };
};
#endif // CPPA_OPENCL #endif // CPPA_OPENCL
command_dispatcher* get_command_dispatcher();
} } // namespace cppa::opencl } } // namespace cppa::opencl
#endif // CPPA_OPENCL_COMMAND_DISPATCHER_HPP #endif // CPPA_OPENCL_COMMAND_DISPATCHER_HPP
...@@ -264,4 +264,8 @@ void command_dispatcher::dispose() { ...@@ -264,4 +264,8 @@ void command_dispatcher::dispose() {
delete this; delete this;
} }
command_dispatcher* get_command_dispatcher() {
return detail::singleton_manager::get_command_dispatcher();
}
} } // namespace cppa::opencl } } // namespace cppa::opencl
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment