Pārlūkot izejas kodu

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 pirms 9 gadiem
vecāks
revīzija
0499c228cd
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      multitasking.hpp

+ 1
- 0
multitasking.hpp Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt