From b34dc5f6ee44fe4e85508bbca4180b6afa9915c1 Mon Sep 17 00:00:00 2001 From: graehl Date: Wed, 7 Jul 2010 14:15:21 +0000 Subject: cygwin compile git-svn-id: https://ws10smt.googlecode.com/svn/trunk@176 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/pyp-topics/src/workers.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gi/pyp-topics/src/workers.hh') diff --git a/gi/pyp-topics/src/workers.hh b/gi/pyp-topics/src/workers.hh index 1f496acf..55424c8d 100644 --- a/gi/pyp-topics/src/workers.hh +++ b/gi/pyp-topics/src/workers.hh @@ -1,6 +1,8 @@ #ifndef WORKERS_HH #define WORKERS_HH +#include "timing.h" + #include #include #include @@ -10,7 +12,6 @@ //#include -#include "timing.h" template class SimpleWorker @@ -27,7 +28,7 @@ public: R run() //this is called upon thread creation { R wresult = 0; - + assert(job); timer.Reset(); wresult = job(); -- cgit v1.2.3