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

Unified Diff: include/AdblockPlus/Notification.h

Issue 5163715573841920: Issue 768 - Switch from TR1 to C++11 (Closed)
Patch Set: fix including of <memory> Created Aug. 7, 2015, 6:07 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
« no previous file with comments | « include/AdblockPlus/LogSystem.h ('k') | include/AdblockPlus/WebRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/Notification.h
diff --git a/include/AdblockPlus/Notification.h b/include/AdblockPlus/Notification.h
index 57b1ff0e33e28fbf73b6d72b5e08c29a4ae19e18..a47e40ed0df8ee8042ebe560f46aa0436044521b 100644
--- a/include/AdblockPlus/Notification.h
+++ b/include/AdblockPlus/Notification.h
@@ -20,7 +20,7 @@
#include <string>
#include <vector>
-#include "tr1_memory.h"
+#include <memory>
namespace AdblockPlus
{
@@ -42,7 +42,7 @@ namespace AdblockPlus
{
friend class FilterEngine;
protected:
- static std::tr1::shared_ptr<Notification> JsValueToNotification(const JsValuePtr& jsValue);
+ static std::shared_ptr<Notification> JsValueToNotification(const JsValuePtr& jsValue);
/**
* Constructor.
* @param jsValue `JsValuePtr` notification JavaScript object.
@@ -83,7 +83,7 @@ namespace AdblockPlus
std::string message;
NotificationType type;
};
- typedef std::tr1::shared_ptr<Notification> NotificationPtr;
+ typedef std::shared_ptr<Notification> NotificationPtr;
}
#endif
« no previous file with comments | « include/AdblockPlus/LogSystem.h ('k') | include/AdblockPlus/WebRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld