Removed Constructor of empty Containers to avoid deconstructor calls on not initilized dynamic arrays.

This commit is contained in:
Christian
2019-06-17 12:59:05 +02:00
parent 13ce5177a2
commit d2a3d3b8a3
8 changed files with 34 additions and 17 deletions
+5
View File
@@ -7,12 +7,17 @@
//
#include "simulation.hpp"
#include "tcs_container.hpp"
using namespace std;
int main(int argc, const char * argv[]) {
clock_t start = clock();
Simulation Sim;
Sim.doit();
cout<<"Duration: "<< ( clock() - start ) / (double) CLOCKS_PER_SEC <<"\n";
}