Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
glom
Commits
ebfe80f1
Unverified
Commit
ebfe80f1
authored
Jun 20, 2017
by
Murray Cumming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document::change_relationship_name(): Avoid a vector copy.
parent
9c081852
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
glom/libglom/document/document.cc
glom/libglom/document/document.cc
+1
-1
No files found.
glom/libglom/document/document.cc
View file @
ebfe80f1
...
...
@@ -1078,7 +1078,7 @@ void Document::change_relationship_name(const Glib::ustring& table_name, const G
const
auto
doctableinfo
=
get_table_info
(
table_name
);
if
(
doctableinfo
)
{
const
auto
relationships
=
doctableinfo
->
m_relationships
;
const
auto
&
relationships
=
doctableinfo
->
m_relationships
;
//Change the relationship name:
auto
iterRelFind
=
find_if_same_name
(
relationships
,
name
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment