We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77fd2e4 commit 8d5c45eCopy full SHA for 8d5c45e
1 file changed
src/benchmark/BenchmarkLifeSim.h
@@ -42,11 +42,6 @@ class Time : public ReactiveObject<D>
42
Signal<Seasons> Season = DayOfYear >>= [] (int day) {
43
return day < 180 ? Seasons::winter : Seasons::summer;
44
};
45
-
46
- ~Time()
47
- {
48
- DetachAllObservers(NewDay);
49
- }
50
51
52
template <typename D>
@@ -283,11 +278,6 @@ struct Benchmark_LifeSim : public BenchmarkBase<D>
283
278
auto t1 = tbb::tick_count::now();
284
279
double d = (t1 - t0).seconds();
285
280
286
- //for (const auto& e : animals)
287
- //{
288
- // DetachAllObservers(e->Migrating);
289
- //}
290
291
281
//s = s / params.K;
292
282
//printf("s %d\n", s);
293
0 commit comments