From 2aff4534f6f2e29850fb8c3af0d2310d6a66aad0 Mon Sep 17 00:00:00 2001 From: Android Tools Maintainers Date: Tue, 10 May 2022 11:33:56 +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