Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions engine/common/message_content_text.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ struct Text : JsonSerializable {
// Parse annotations array
if (json.isMember("annotations") && json["annotations"].isArray()) {
for (const auto& annotation_json : json["annotations"]) {
std::string type = std::move(annotation_json["type"].asString());
std::string type = annotation_json["type"].asString();
std::string annotation_text =
std::move(annotation_json["text"].asString());
annotation_json["text"].asString();
uint32_t start_index = annotation_json["start_index"].asUInt();
uint32_t end_index = annotation_json["end_index"].asUInt();

Expand Down
Loading