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

Unified Diff: compiled/debug.h

Issue 29715695: Noissue - get rid of compiler warnings (Closed) Base URL: github.com:adblockplus/adblockpluscore
Patch Set: Created March 6, 2018, 12:26 p.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/bindings/main.cpp ('k') | compiled/filter/RegExpFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/debug.h
diff --git a/compiled/debug.h b/compiled/debug.h
index b0447b3e436b9258890927bd43eb4aa85db2b110..873fa56402fb2d1621c76af1085947b109094396 100644
--- a/compiled/debug.h
+++ b/compiled/debug.h
@@ -46,14 +46,13 @@ struct console_type
}
};
-static console_type console;
ABP_NS_END
#if defined(DEBUG)
inline void assert2(bool condition, const String& str)
{
if (!condition)
- ABP_NS::console.error(str);
+ ABP_NS::console_type::error(str);
}
#else
#define assert2(condition, str)
« no previous file with comments | « compiled/bindings/main.cpp ('k') | compiled/filter/RegExpFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld