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

Unified Diff: compiled/intrusive_ptr.h

Issue 29613616: Issue 6064 - Put C++ code into a configurable namespace (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git
Patch Set: address comments Created Nov. 22, 2017, 9:36 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 | « compiled/filter/WhitelistFilter.cpp ('k') | compiled/library.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/intrusive_ptr.h
diff --git a/compiled/intrusive_ptr.h b/compiled/intrusive_ptr.h
index d9e362f1ec53eaf56cdecf6a087be85d41f5f38d..211e6fe42a8a04ca9c42dc5a5e098a541703723f 100644
--- a/compiled/intrusive_ptr.h
+++ b/compiled/intrusive_ptr.h
@@ -28,9 +28,12 @@
#include <algorithm>
#include <type_traits>
+#include "base.h"
#include "debug.h"
#include "String.h"
+ABP_NS_BEGIN
+
class ref_counted
{
public:
@@ -218,3 +221,5 @@ inline bool operator!=(const T* a, intrusive_ptr<U> const& b)
{
return a != b.get();
}
+
+ABP_NS_END
« no previous file with comments | « compiled/filter/WhitelistFilter.cpp ('k') | compiled/library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld