Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3215)

Unified Diff: base/threading/thread_collision_warner.h

Issue 9121034: Make DFAKE_MUTEX a typedef when using NDEBUG, so that pedantic compilers don't warn about an extra … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/thread_collision_warner.h
diff --git a/base/threading/thread_collision_warner.h b/base/threading/thread_collision_warner.h
index a9dfc0a4cfb2a71bd87f406fff3be0de87a02640..108142f910ff5db189045eadd7bb91981da373b0 100644
--- a/base/threading/thread_collision_warner.h
+++ b/base/threading/thread_collision_warner.h
@@ -119,7 +119,7 @@
#else
-#define DFAKE_MUTEX(obj)
+#define DFAKE_MUTEX(obj) typedef void __InternalFakeMutexType##obj
brettw 2012/01/27 22:33:32 Probably shouldn't use __, since isn't that suppos
#define DFAKE_SCOPED_LOCK(obj) ((void)0)
#define DFAKE_SCOPED_RECURSIVE_LOCK(obj) ((void)0)
#define DFAKE_SCOPED_LOCK_THREAD_LOCKED(obj) ((void)0)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698