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/mem_map.cc | |
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/mem_map.cc')
-rw-r--r-- | runtime/mem_map.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mem_map.cc b/runtime/mem_map.cc index 4d3f8c9a06..d755cb98a9 100644 --- a/runtime/mem_map.cc +++ b/runtime/mem_map.cc @@ -485,7 +485,7 @@ MemMap::MemMap(const std::string& name, byte* begin, size_t size, void* base_beg MutexLock mu(Thread::Current(), *Locks::mem_maps_lock_); maps_.insert(std::pair<void*, MemMap*>(base_begin_, this)); } -}; +} MemMap* MemMap::RemapAtEnd(byte* new_end, const char* tail_name, int tail_prot, std::string* error_msg) { |