Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make create_context return the real type.
[simgrid.git] / src / kernel / context / ContextUnix.cpp
index 9bae6d2..2ebe3da 100644 (file)
@@ -56,7 +56,7 @@ namespace kernel {
 namespace context {
 
 // UContextFactory
-Context* UContextFactory::create_context(std::function<void()>&& code, actor::ActorImpl* actor)
+UContext* UContextFactory::create_context(std::function<void()>&& code, actor::ActorImpl* actor)
 {
   return new_context<UContext>(std::move(code), actor, this);
 }