Removed Constructor of empty Containers to avoid deconstructor calls on not initilized dynamic arrays.
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user