avoid bogus compiler warning about alleged invalid memory access

This commit is contained in:
Moritz Bunkus 2021-12-05 17:41:58 +01:00
parent 63f1794a65
commit 689bdfc02d
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -40,7 +40,7 @@ track_statistics_c::create_tags(libmatroska::KaxTags &tags,
if (!m_source_id.empty()) {
mtx::tags::set_simple(*tag, "SOURCE_ID", m_source_id);
names.emplace_back("SOURCE_ID");
names.emplace_back("SOURCE_ID"s);
}
mtx::tags::set_simple(*tag, "_STATISTICS_WRITING_APP", writing_app);