diff options
author | Pixel <pixel@nobis-crew.org> | 2011-11-16 19:50:42 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-11-16 19:51:01 -0800 |
commit | 7913be4614cbe4651972348944b40e2d85aad385 (patch) | |
tree | 6ba6b8f88c72ec380d10aae15b45d1ea027c4f78 | |
parent | 7c382a3cc4f4f399ace7f70e08629723aff111a1 (diff) |
Seems clang is picky. I don't know if I like or hate this compiler yet.
-rw-r--r-- | includes/TaskMan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/TaskMan.h b/includes/TaskMan.h index b9897e4..6d005ef 100644 --- a/includes/TaskMan.h +++ b/includes/TaskMan.h @@ -56,6 +56,6 @@ class TaskMan { }; template<class T> -T * createTask(T * t, Task * stick = NULL) { TaskMan::registerTask(t, stick); Assert(dynamic_cast<Task *>(t)); return t; } +T * createTask(T * t, Task * stick) { TaskMan::registerTask(t, stick); Assert(dynamic_cast<Task *>(t)); return t; } }; |