From b51e07609ff93eaeff11278c45a4b369718019ad Mon Sep 17 00:00:00 2001 From: Android Tools Maintainers Date: Thu, 13 Oct 2022 19:56:25 +0100 Subject: [PATCH] Fix concatenation of storage_mode string. Forwarded: not-needed Gbp-Pq: Name storage-mode-concat.patch --- runtime/image.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2