Unverified Commit ebfe80f1 authored by Murray Cumming's avatar Murray Cumming
Browse files

Document::change_relationship_name(): Avoid a vector copy.

parent 9c081852
......@@ -1078,7 +1078,7 @@ void Document::change_relationship_name(const Glib::ustring& table_name, const G
const auto doctableinfo = get_table_info(table_name);
const auto relationships = doctableinfo->m_relationships;
const auto& relationships = doctableinfo->m_relationships;
//Change the relationship name:
auto iterRelFind = find_if_same_name(relationships, name);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment