]> sourceware.org Git - libabigail.git/commit
reporter-priv: Passing a string parm by reference
authorDodji Seketeli <dodji@redhat.com>
Tue, 21 Jun 2022 10:51:18 +0000 (12:51 +0200)
committerDodji Seketeli <dodji@redhat.com>
Tue, 21 Jun 2022 10:54:33 +0000 (12:54 +0200)
commitaa1576b2f34d90f725f3ddc84665a49fbacb3859
treeeb3d479dbd8f96fff8ec8f89af7b685c59295f91
parent0529e3b9ee09c29137952b3a5d4a7cc10484649a
reporter-priv: Passing a string parm by reference

While looking at something else, I noticed the
maybe_report_data_members_replaced_by_anon_dm function was passing a
string parameter by value.  Pass this by reference.

* src/abg-reporter-priv.h
(maybe_report_data_members_replaced_by_anon_dm): Pass the string parm by ...
* src/abg-reporter-priv.cc
(maybe_report_data_members_replaced_by_anon_dm): ... reference.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-reporter-priv.cc
src/abg-reporter-priv.h
This page took 0.033739 seconds and 5 git commands to generate.