From: Android Tools Maintainers Date: Tue, 19 Jul 2022 11:20:55 +0000 (+0100) Subject: Fix concatenation of storage_mode string. X-Git-Tag: archive/raspbian/11.0.0+r48-4+rpi1~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=571122c364cc66232922d05d380e12679c59dd0f;p=android-platform-art.git Fix concatenation of storage_mode string. Forwarded: not-needed Gbp-Pq: Name storage-mode-concat.patch --- diff --git a/runtime/image.cc b/runtime/image.cc index 782c0c6..5e3339d 100644 --- a/runtime/image.cc +++ b/runtime/image.cc @@ -191,7 +191,7 @@ bool ImageHeader::Block::Decompress(uint8_t* out_ptr, } default: { if (error_msg != nullptr) { - *error_msg = (std::ostringstream() << "Invalid image format " << storage_mode_).str(); + *error_msg = "Invalid image format " + storage_mode_; } return false; }