Update src/Formats/StructureToFormatSchemaUtils.cpp

Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
Alexey Milovidov 2023-07-26 23:37:20 +03:00 committed by GitHub
parent 8a753de296
commit bc86c26e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ namespace
const auto * it = find_first_symbols<'_', '.'>(begin, end); const auto * it = find_first_symbols<'_', '.'>(begin, end);
String first = String(begin, it); String first = String(begin, it);
String second = it == end ? "" : String(it + 1, end); String second = it == end ? "" : String(it + 1, end);
return {first, second}; return {std::move(first), std::move(second)};
} }
} }