diff options
author | lloyd <[email protected]> | 2008-11-11 02:20:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-11 02:20:57 +0000 |
commit | 507b1b0996b3640c038d236f60ea86ee6315aeb4 (patch) | |
tree | 18073171e522ca1f5a7046b4b5959b606adfa763 /src/algo_factory/algo_factory.cpp | |
parent | daffc235589fb8ec2f4090ba5fb8511462b4a843 (diff) |
Remove a global_state() dependency on Engine without breaking Monotone
via two-stage initialization.
Diffstat (limited to 'src/algo_factory/algo_factory.cpp')
-rw-r--r-- | src/algo_factory/algo_factory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/algo_factory/algo_factory.cpp b/src/algo_factory/algo_factory.cpp index 2f7921ce0..b5d088881 100644 --- a/src/algo_factory/algo_factory.cpp +++ b/src/algo_factory/algo_factory.cpp @@ -31,6 +31,7 @@ Algorithm_Factory::~Algorithm_Factory() */ void Algorithm_Factory::add_engine(Engine* engine) { + engine->initialize(mutex_factory); engines.push_back(engine); } |