diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-05-07 20:58:36 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-05-08 13:19:48 +0200 |
commit | 0d59dcc8f72431a26af15c7465bf296276ee7171 (patch) | |
tree | 5a045a172fdd9b4e0651a64069ca8d97d4204ce0 /ccode | |
parent | 2afaae5e0755b2d8619808d2d148761b92c355b5 (diff) | |
download | vala-0d59dcc8f72431a26af15c7465bf296276ee7171.tar.gz |
Use "str_equal" as equal_func for ArrayList<string> instances
Diffstat (limited to 'ccode')
-rw-r--r-- | ccode/valaccodefile.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ccode/valaccodefile.vala b/ccode/valaccodefile.vala index 7145946b1..b04b73d10 100644 --- a/ccode/valaccodefile.vala +++ b/ccode/valaccodefile.vala @@ -108,7 +108,7 @@ public class Vala.CCodeFile { } public List<string> get_symbols () { - var symbols = new ArrayList<string> (); + var symbols = new ArrayList<string> (str_equal); get_symbols_from_fragment (symbols, type_member_declaration); return symbols; } |