From ed78baff64fe45479ca6c480d985ce0f9c0c9515 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 2 Nov 2024 23:11:42 +0100 Subject: more bug fixes --- frontend/DB.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'frontend/DB.cpp') diff --git a/frontend/DB.cpp b/frontend/DB.cpp index 0f52433..1c8ab41 100644 --- a/frontend/DB.cpp +++ b/frontend/DB.cpp @@ -98,6 +98,15 @@ int DBQueryRow::col(int index) const { return this->col(index, 0); } +template <> +unsigned int DBQueryRow::col(int index, const unsigned int & default_value) const { + return this->col(index, default_value); +} +template <> +unsigned int DBQueryRow::col(int index) const { + return this->col(index, 0); +} + DBQueryRowRange DBStatement::rows() { return { *this }; } -- cgit v1.2.3