[libgee] Drop obsolete VALA_0_16 conditionals
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgee] Drop obsolete VALA_0_16 conditionals
- Date: Wed, 14 Dec 2016 09:52:16 +0000 (UTC)
commit 391c7fcd45c3f83aef009a70ac45a97a50d839ce
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Dec 14 10:51:09 2016 +0100
Drop obsolete VALA_0_16 conditionals
gee/priorityqueue.vala | 4 ----
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++]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]