about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hkutil/database.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hkutil/database.h b/hkutil/database.h index 67dd9c5..0914047 100644 --- a/hkutil/database.h +++ b/hkutil/database.h
@@ -187,7 +187,7 @@ namespace hatkirby {
187 187
188 std::vector<row> queryAll( 188 std::vector<row> queryAll(
189 std::string queryString, 189 std::string queryString,
190 std::list<binding> bindings) 190 std::list<binding> bindings = {})
191 { 191 {
192 sqlite3_stmt* tempStmt; 192 sqlite3_stmt* tempStmt;
193 193
@@ -287,7 +287,7 @@ namespace hatkirby {
287 287
288 row queryFirst( 288 row queryFirst(
289 std::string queryString, 289 std::string queryString,
290 std::list<binding> bindings) 290 std::list<binding> bindings = {})
291 { 291 {
292 std::vector<row> dataset = queryAll( 292 std::vector<row> dataset = queryAll(
293 std::move(queryString), 293 std::move(queryString),