summaryrefslogtreecommitdiff
path: root/ccode
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-05-07 20:58:36 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-05-08 13:19:48 +0200
commit0d59dcc8f72431a26af15c7465bf296276ee7171 (patch)
tree5a045a172fdd9b4e0651a64069ca8d97d4204ce0 /ccode
parent2afaae5e0755b2d8619808d2d148761b92c355b5 (diff)
downloadvala-0d59dcc8f72431a26af15c7465bf296276ee7171.tar.gz
Use "str_equal" as equal_func for ArrayList<string> instances
Diffstat (limited to 'ccode')
-rw-r--r--ccode/valaccodefile.vala2
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;
}