for (auto i: notes) {
message += " " + note_to_string(i) + "\n";
message += dcp::String::compose(
- " [%1 %2 %3 %4 %5 %6 %7]\n",
+ " [%1 %2 %3 %4 %5 %6 ",
static_cast<int>(i.type()),
static_cast<int>(i.code()),
i.note().get_value_or("<none>"),
i.file().get_value_or("<none>"),
i.line().get_value_or(0),
+ i.frame().get_value_or(0)
+ );
+ message += dcp::String::compose(
+ "%1 %2 %3 %4]\n",
+ i.id().get_value_or("<none>"),
+ i.other_id().get_value_or("<none>"),
i.reference_hash().get_value_or("<none>"),
i.calculated_hash().get_value_or("<none>")
);
for (auto i: test_notes) {
message += " " + note_to_string(i) + "\n";
message += dcp::String::compose(
- " [%1 %2 %3 %4 %5 %6 %7]\n",
+ " [%1 %2 %3 %4 %5 %6 ",
static_cast<int>(i.type()),
static_cast<int>(i.code()),
i.note().get_value_or("<none>"),
i.file().get_value_or("<none>"),
i.line().get_value_or(0),
+ i.frame().get_value_or(0)
+ );
+ message += dcp::String::compose(
+ "%1 %2 %3 %4]\n",
+ i.id().get_value_or("<none>"),
+ i.other_id().get_value_or("<none>"),
i.reference_hash().get_value_or("<none>"),
i.calculated_hash().get_value_or("<none>")
);