Index: src/FilterEngine.cpp |
diff --git a/src/FilterEngine.cpp b/src/FilterEngine.cpp |
index 7f80eaae40874646a8b8041be9363495923df2b1..06e126235e141f63ac71f2a6a50b8499b2db8ec9 100644 |
--- a/src/FilterEngine.cpp |
+++ b/src/FilterEngine.cpp |
@@ -259,20 +259,6 @@ void FilterEngine::CreateAsync(const JsEnginePtr& jsEngine, |
jsEngine->Evaluate(jsSources[i + 1], jsSources[i]); |
} |
-FilterEnginePtr FilterEngine::Create(const JsEnginePtr& jsEngine, |
- const FilterEngine::CreationParameters& params) |
-{ |
- FilterEnginePtr retValue; |
- Sync sync; |
- CreateAsync(jsEngine, [&retValue, &sync](const FilterEnginePtr& filterEngine) |
- { |
- retValue = filterEngine; |
- sync.Set(); |
- }, params); |
- sync.Wait(); |
- return retValue; |
-} |
- |
namespace |
{ |
typedef std::map<FilterEngine::ContentType, std::string> ContentTypeMap; |