From 3fd03341ae6a4aaa630ed3c9d563a04a12eb4c61 Mon Sep 17 00:00:00 2001 From: tchernobog Date: Sun, 17 Sep 2006 17:36:08 +0000 Subject: [PATCH] - Load plugins. Still not fixed sigsegv. Will see after dinner. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1243 3ecf2c5c-341e-0410-92b4-d18e462d057c --- src/testsuite/test-statistics.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/testsuite/test-statistics.cc b/src/testsuite/test-statistics.cc index 93eb1fd..62073eb 100644 --- a/src/testsuite/test-statistics.cc +++ b/src/testsuite/test-statistics.cc @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -53,6 +54,9 @@ main(int argc, char** argv) using namespace sgpem; + // Initialize all preferences and load plugins + PluginManager::get_instance(); + Simulation& sim=Simulation::get_instance(); History& hi=sim.get_history();