diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-12-14 10:51:09 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-12-14 10:51:09 +0100 |
commit | 391c7fcd45c3f83aef009a70ac45a97a50d839ce (patch) | |
tree | 792f117ab2cebd4e9574496f135eaf26ef502d66 | |
parent | 72671f62aaf0c73d3ea4578270f894674f2045e1 (diff) | |
download | libgee-391c7fcd45c3f83aef009a70ac45a97a50d839ce.tar.gz |
Drop obsolete VALA_0_16 conditionals
-rw-r--r-- | gee/priorityqueue.vala | 4 | ||||
-rw-r--r-- | tests/testarraylist.vala | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/gee/priorityqueue.vala b/gee/priorityqueue.vala index e32b05a..a36b3e6 100644 --- a/gee/priorityqueue.vala +++ b/gee/priorityqueue.vala @@ -350,11 +350,7 @@ public class Gee.PriorityQueue<G> : Gee.AbstractQueue<G> { _lm_head = null; _lm_tail = null; _p = null; -#if VALA_0_16 _a = new Type1Node<G>?[0]; -#else - _a = new Type1Node<G>[0]; -#endif _lp_head = null; _lp_tail = null; _b = new bool[0]; diff --git a/tests/testarraylist.vala b/tests/testarraylist.vala index 4de1475..69dee02 100644 --- a/tests/testarraylist.vala +++ b/tests/testarraylist.vala @@ -135,11 +135,7 @@ public class ArrayListTests : BidirListTests { assert (double_list.add (1.5d)); assert (double_list.add (2.0d)); -#if VALA_0_16 double?[] double_array = double_list.to_array (); -#else - double[] double_array = double_list.to_array (); -#endif index = 0; foreach (double element in double_list) { assert (element == double_array[index++]); |