From 14ac26c65511099551bf72b0015878e10feeae07 Mon Sep 17 00:00:00 2001 From: xiehan <52160700+Barenboim@users.noreply.github.com> Date: Fri, 22 Nov 2024 02:42:36 +0800 Subject: [PATCH] Remove forward declaration. (#1659) --- src/kernel/SubTask.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/kernel/SubTask.h b/src/kernel/SubTask.h index b06a164982..feae19498a 100644 --- a/src/kernel/SubTask.h +++ b/src/kernel/SubTask.h @@ -21,8 +21,6 @@ #include -class ParallelTask; - class SubTask { public: @@ -39,7 +37,7 @@ class SubTask void set_pointer(void *pointer) { this->pointer = pointer; } private: - ParallelTask *parent; + class ParallelTask *parent; void *pointer; public: