diff options
author | Andreas Gampe <agampe@google.com> | 2014-09-29 20:07:43 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-09-29 20:13:48 -0700 |
commit | c8ccf68b805c92674545f63e0341ba47e8d9701c (patch) | |
tree | fb360323538cb242ebf7c5c0aca27d3a0bce0abb /runtime/thread.h | |
parent | fcabfbe577c0fd40910b565beb681bd4b66f6c5d (diff) | |
download | art-c8ccf68b805c92674545f63e0341ba47e8d9701c.tar.gz art-c8ccf68b805c92674545f63e0341ba47e8d9701c.tar.bz2 art-c8ccf68b805c92674545f63e0341ba47e8d9701c.zip |
ART: Fix some -Wpedantic errors
Remove extra semicolons.
Dollar signs in C++ identifiers are an extension.
Named variadic macros are an extension.
Binary literals are a C++14 feature.
Enum re-declarations are not allowed.
Overflow.
Change-Id: I7d16b2217b2ef2959ca69de84eaecc754517714a
Diffstat (limited to 'runtime/thread.h')
-rw-r--r-- | runtime/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread.h b/runtime/thread.h index 164eb86f6..6c427b8d5 100644 --- a/runtime/thread.h +++ b/runtime/thread.h @@ -679,7 +679,7 @@ class Thread { // Number of references allocated in handle scopes & JNI shadow frames on this thread. size_t NumStackReferences() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { return NumHandleReferences() + NumJniShadowFrameReferences(); - }; + } // Is the given obj in this thread's stack indirect reference table? bool HandleScopeContains(jobject obj) const; |