aboutsummaryrefslogtreecommitdiff
path: root/qlite
diff options
context:
space:
mode:
authorRandy Barlow <randy@electronsweatshop.com>2019-09-01 12:37:46 -0400
committerfiaxh <fiaxh@users.noreply.github.com>2019-09-01 21:19:09 +0200
commit48c2e7afa497acc2e75cf5673d0dcdaa8ba638a7 (patch)
treee52130d9d5c3c2e2e922e2d6529eea7cbdc958a9 /qlite
parent016ab2c19b0760792f3ea8f00bfc46b49500f96a (diff)
downloaddino-48c2e7afa497acc2e75cf5673d0dcdaa8ba638a7.tar.gz
dino-48c2e7afa497acc2e75cf5673d0dcdaa8ba638a7.zip
Do not mark abstract class contstuctors public
Starting with Vala 0.45.1, it is an error to mark abstract class constructors public[0,1]. This commit removes three such declarations. fixes #609 [0] https://gitlab.gnome.org/GNOME/vala/raw/master/NEWS [1] https://gitlab.gnome.org/GNOME/vala/issues/766 Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Diffstat (limited to 'qlite')
-rw-r--r--qlite/src/column.vala4
-rw-r--r--qlite/src/statement_builder.vala2
2 files changed, 3 insertions, 3 deletions
diff --git a/qlite/src/column.vala b/qlite/src/column.vala
index daa6a59f..60125ddf 100644
--- a/qlite/src/column.vala
+++ b/qlite/src/column.vala
@@ -55,7 +55,7 @@ public abstract class Column<T> {
return res;
}
- public Column(string name, int type) {
+ Column(string name, int type) {
this.name = name;
this.sqlite_type = type;
}
@@ -185,4 +185,4 @@ public abstract class Column<T> {
}
}
-} \ No newline at end of file
+}
diff --git a/qlite/src/statement_builder.vala b/qlite/src/statement_builder.vala
index f4dac121..dca6983e 100644
--- a/qlite/src/statement_builder.vala
+++ b/qlite/src/statement_builder.vala
@@ -15,7 +15,7 @@ public abstract class StatementBuilder {
public T value;
public Column<T>? column;
- public AbstractField(T value) {
+ AbstractField(T value) {
this.value = value;
}