diff options
| author | 2015-08-03 21:27:27 +0000 | |
|---|---|---|
| committer | 2015-08-03 21:27:27 +0000 | |
| commit | e3d598e240dd9ac26b4894dbb1312f42c4047fb3 (patch) | |
| tree | 8d5f90a27f5f47f26eba4e15a1c96d19e3919d51 /compiler/image_writer.cc | |
| parent | 743e9625bd4b9bddc8752170e647660986c53f08 (diff) | |
| parent | a315f5c546b796f55f4872bb6efc15eb858d9639 (diff) | |
Merge "cleanup: Replace pointers with out-parameters and fix-up formatting"
Diffstat (limited to 'compiler/image_writer.cc')
| -rw-r--r-- | compiler/image_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc index dda36fa2ef..17d75a3cd3 100644 --- a/compiler/image_writer.cc +++ b/compiler/image_writer.cc @@ -141,7 +141,7 @@ bool ImageWriter::Write(const std::string& image_filename, return false; } std::string error_msg; - oat_file_ = OatFile::OpenReadable(oat_file.get(), oat_location, nullptr, &error_msg); + oat_file_ = OatFile::OpenReadable(oat_file.get(), oat_location, nullptr, outof(error_msg)); if (oat_file_ == nullptr) { PLOG(ERROR) << "Failed to open writable oat file " << oat_filename << " for " << oat_location << ": " << error_msg; |