summaryrefslogtreecommitdiff
path: root/src/RequestGroup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/RequestGroup.cc')
-rw-r--r--src/RequestGroup.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/RequestGroup.cc b/src/RequestGroup.cc
index d35e4967..c79b690e 100644
--- a/src/RequestGroup.cc
+++ b/src/RequestGroup.cc
@@ -447,9 +447,9 @@ void RequestGroup::createInitialCommand
if(!nodes.empty() && DHTRegistry::isInitialized()) {
auto command = make_unique<DHTEntryPointNameResolveCommand>
(e->newCUID(), e, nodes);
- command->setTaskQueue(DHTRegistry::getData().taskQueue);
- command->setTaskFactory(DHTRegistry::getData().taskFactory);
- command->setRoutingTable(DHTRegistry::getData().routingTable);
+ command->setTaskQueue(DHTRegistry::getData().taskQueue.get());
+ command->setTaskFactory(DHTRegistry::getData().taskFactory.get());
+ command->setRoutingTable(DHTRegistry::getData().routingTable.get());
command->setLocalNode(DHTRegistry::getData().localNode);
e->addCommand(std::move(command));
}