aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_factory
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-11 04:55:51 +0000
committerlloyd <[email protected]>2008-11-11 04:55:51 +0000
commit1a3ab9bf2aba7910e0cfff760635b68589089888 (patch)
tree66ce9d822fe5f8163d60b86ffe252be639503645 /src/algo_factory
parent54f82a91844808eb1612080427fb64d44c486aad (diff)
Split asm_engine into three engines (ia32, amd64, sse2). This allows
them to be individually requested as providers on lookup.
Diffstat (limited to 'src/algo_factory')
-rw-r--r--src/algo_factory/algo_factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algo_factory/algo_factory.cpp b/src/algo_factory/algo_factory.cpp
index b5d088881..b8c428432 100644
--- a/src/algo_factory/algo_factory.cpp
+++ b/src/algo_factory/algo_factory.cpp
@@ -32,7 +32,7 @@ Algorithm_Factory::~Algorithm_Factory()
void Algorithm_Factory::add_engine(Engine* engine)
{
engine->initialize(mutex_factory);
- engines.push_back(engine);
+ engines.insert(engines.begin(), engine);
}
/*************************************************