projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3862020
)
Fix SkTDynamicHash.h:183:29: warning: equality comparison with extraneous parentheses...
author
dongseong.hwang
<dongseong.hwang@intel.com>
Tue, 28 Apr 2015 19:26:52 +0000
(12:26 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 28 Apr 2015 19:26:52 +0000
(12:26 -0700)
Review URL: https://codereview.chromium.org/
1115433004
src/core/SkTDynamicHash.h
patch
|
blob
|
history
diff --git
a/src/core/SkTDynamicHash.h
b/src/core/SkTDynamicHash.h
index
23544c8
..
8def89b
100644
(file)
--- a/
src/core/SkTDynamicHash.h
+++ b/
src/core/SkTDynamicHash.h
@@
-161,7
+161,7
@@
private:
static T* Deleted() { return reinterpret_cast<T*>(1); } // Also an invalid pointer.
bool validate() const {
- #define SKTDYNAMICHASH_CHECK(x) SkASSERT(
(x)
); if (!(x)) return false
+ #define SKTDYNAMICHASH_CHECK(x) SkASSERT(
x
); if (!(x)) return false
static const int kLarge = 50; // Arbitrary, tweak to suit your patience.
// O(1) checks, always done.