Index: include/AdblockPlus/Platform.h |
diff --git a/include/AdblockPlus/Platform.h b/include/AdblockPlus/Platform.h |
index 9c89eda556d28d207a33600bda25f2e76e851ce5..0328c4cb4fbc9ce550c7c905b7c755aea0c38c47 100644 |
--- a/include/AdblockPlus/Platform.h |
+++ b/include/AdblockPlus/Platform.h |
@@ -81,7 +81,7 @@ namespace AdblockPlus |
/** |
* Callback type invoked when FilterEngine is created. |
*/ |
- typedef std::function<void(const FilterEnginePtr&)> OnFilterEngineCreatedCallback; |
+ typedef std::function<void(const FilterEngine&)> OnFilterEngineCreatedCallback; |
/** |
* Platform constructor. |
@@ -122,7 +122,7 @@ namespace AdblockPlus |
* operations, please ensure that provided implementation does not lead to |
* a dead lock. |
*/ |
- FilterEnginePtr GetFilterEngine(); |
+ FilterEngine& GetFilterEngine(); |
/** |
* @return The asynchronous ITimer implementation. |