Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/DefaultErrorCallback.cpp

Issue 10310030: Convert references to FileSystem & Co. into shared pointers (avoid use after free) (Closed)
Patch Set: Created April 18, 2013, 11:59 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/DefaultErrorCallback.cpp
===================================================================
new file mode 100644
--- /dev/null
+++ b/src/DefaultErrorCallback.cpp
@@ -0,0 +1,7 @@
+#include <iostream>
+#include <AdblockPlus/DefaultErrorCallback.h>
+
+void AdblockPlus::DefaultErrorCallback::operator()(const std::string& message)
+{
+ std::cerr << "Error: " << message << std::endl;
+}
« no previous file with comments | « src/ConsoleJsObject.cpp ('k') | src/DefaultWebRequestCurl.cpp » ('j') | src/JsEngine.cpp » ('J')

Powered by Google App Engine
This is Rietveld