Mercurial > hg > orthanc
comparison Core/MultiThreading/BagOfTasks.h @ 2016:0ae26237569a
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 13 Jun 2016 15:26:20 +0200 |
parents | 730eedd9a5dc |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2015:bcc575732aef | 2016:0ae26237569a |
---|---|
47 Tasks tasks_; | 47 Tasks tasks_; |
48 | 48 |
49 public: | 49 public: |
50 ~BagOfTasks() | 50 ~BagOfTasks() |
51 { | 51 { |
52 for (Tasks::iterator it = tasks_.begin(); it != tasks_.end(); it++) | 52 for (Tasks::iterator it = tasks_.begin(); it != tasks_.end(); ++it) |
53 { | 53 { |
54 delete *it; | 54 delete *it; |
55 } | 55 } |
56 } | 56 } |
57 | 57 |