summaryrefslogtreecommitdiff
path: root/src/linkgraph/linkgraphschedule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/linkgraph/linkgraphschedule.cpp')
-rw-r--r--src/linkgraph/linkgraphschedule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/linkgraph/linkgraphschedule.cpp b/src/linkgraph/linkgraphschedule.cpp
index 31a837ad1..b3e512506 100644
--- a/src/linkgraph/linkgraphschedule.cpp
+++ b/src/linkgraph/linkgraphschedule.cpp
@@ -12,6 +12,7 @@
#include "../stdafx.h"
#include "linkgraphschedule.h"
#include "init.h"
+#include "demands.h"
/**
* Spawn a thread if possible and run the link graph job in the thread. If
@@ -128,6 +129,7 @@ void LinkGraphSchedule::SpawnAll()
LinkGraphSchedule::LinkGraphSchedule()
{
this->handlers[0] = new InitHandler;
+ this->handlers[1] = new DemandHandler;
}
/**