Fix use after move
authorSangyoon Jang <jeremy.jang@samsung.com>
Mon, 12 May 2025 05:47:32 +0000 (14:47 +0900)
committer장상윤/Tizen Platform Lab(SR)/삼성전자 <jeremy.jang@samsung.com>
Mon, 12 May 2025 07:03:40 +0000 (16:03 +0900)
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/common/action_schema.cc

index cb3915931fcf5040a5083735c9962313c535768e..63a37777c1f9ccc5bddc32d27857244aab89c981 100644 (file)
@@ -113,7 +113,7 @@ ActionSchema::ActionSchema(std::string json_str)
   } catch (const std::runtime_error& e) {
     // TODO: how to handle invalid json case?
     LOG(ERROR) << "Failed to parse json string: " << e.what();
-    LOG(ERROR) << json_str;
+    LOG(ERROR) << json_str_;
   }
 }