OSDN Git Service

Change hash set to use noexcept
authorMathieu Chartier <mathieuc@google.com>
Wed, 6 Apr 2016 02:13:37 +0000 (19:13 -0700)
committerMathieu Chartier <mathieuc@google.com>
Wed, 6 Apr 2016 02:22:15 +0000 (19:22 -0700)
commit5ef868c8332db11bb90284887a7f676f5dbef373
treec227ef792346138833b54bbbce37627d9e4530bf
parent657887ebcd26cf0eae7c40d8ea35bd33186903e7
Change hash set to use noexcept

Otherwise it uses copy constructor instead of move constructor in
some cases (like std::vector).

Reduces shared dirty native by around 350k.

Bug: 27860101

Change-Id: I2ece57e81349316c2f8ba0a57bda6f342faf3f3b
runtime/base/hash_set.h
runtime/intern_table.cc