瀏覽代碼

Add virtual destructor for MultiTask. Reason: To be able to

delete derived objects using MultiTask *.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@104 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 9 年之前
父節點
當前提交
0499c228cd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      multitasking.hpp

+ 1
- 0
multitasking.hpp 查看文件

@@ -9,6 +9,7 @@ namespace CodeDweller {
class MultiTask {
public:
enum class State{Running, Waiting, Finished};
virtual ~MultiTask() {}
virtual State task() = 0;
};


Loading…
取消
儲存