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

Side by Side Diff: compiled/debug.h

Issue 29721697: Noissue - fix support of namespace, external user-config.h and debug configuration (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git@caf1800ce0342583de4c0320745f0fdb3b55bd01
Patch Set: get rid of the warning Created March 13, 2018, 6:17 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « compiled/String.h ('k') | compiled/library.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 static void error(const String& str) 43 static void error(const String& str)
44 { 44 {
45 LogError(str); 45 LogError(str);
46 } 46 }
47 }; 47 };
48 48
49 ABP_NS_END 49 ABP_NS_END
50 50
51 #if defined(DEBUG) 51 #if defined(DEBUG)
52 inline void assert2(bool condition, const String& str) 52 inline void assert2(bool condition, const ABP_NS::String& str)
53 { 53 {
54 if (!condition) 54 if (!condition)
55 ABP_NS::console_type::error(str); 55 ABP_NS::console_type::error(str);
56 } 56 }
57 #else 57 #else
58 #define assert2(condition, str) 58 #define assert2(condition, str)
59 #endif 59 #endif
60 60
61 #if defined(__EMSCRIPTEN_TRACING__) 61 #if defined(__EMSCRIPTEN_TRACING__)
62 #include <emscripten/trace.h> 62 #include <emscripten/trace.h>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 { 110 {
111 } 111 }
112 112
113 inline void exit_context() 113 inline void exit_context()
114 { 114 {
115 } 115 }
116 116
117 ABP_NS_END 117 ABP_NS_END
118 118
119 #endif // defined(__EMSCRIPTEN_TRACING__) 119 #endif // defined(__EMSCRIPTEN_TRACING__)
OLDNEW
« no previous file with comments | « compiled/String.h ('k') | compiled/library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld