diff options
author | 2018-07-03 09:18:32 +0100 | |
---|---|---|
committer | 2018-07-03 09:18:32 +0100 | |
commit | 35d5b8a2c5d2fce03be59aa003c3bf3c1b481be0 (patch) | |
tree | 7665f6d1527be61af13c8ef53f10833dd4200cfd /patchoat/patchoat.cc | |
parent | b28683f43231e65860ecf91c96a8c0234542c019 (diff) |
ART: Do not use std::<container>::at().
These functions are specified as throwing std::out_of_range
and we do not use exceptions.
Test: m
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I67c365ed6d779c101a18b9f386c751c48ca76e16
Diffstat (limited to 'patchoat/patchoat.cc')
-rw-r--r-- | patchoat/patchoat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc index 0beca1f4ce..97b315e85c 100644 --- a/patchoat/patchoat.cc +++ b/patchoat/patchoat.cc @@ -539,7 +539,7 @@ bool PatchOat::Patch(const std::string& image_location, space_to_memmap_map.emplace(space, std::move(image)); PatchOat p = PatchOat(isa, - space_to_memmap_map.at(space).get(), + space_to_memmap_map[space].get(), space->GetLiveBitmap(), space->GetMemMap(), delta, |