aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/query.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/query.hxx')
-rw-r--r--odb/sqlite/query.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/sqlite/query.hxx b/odb/sqlite/query.hxx
index 8e45c32..c9cbfaa 100644
--- a/odb/sqlite/query.hxx
+++ b/odb/sqlite/query.hxx
@@ -1,5 +1,4 @@
// file : odb/sqlite/query.hxx
-// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
#ifndef ODB_SQLITE_QUERY_HXX
@@ -179,13 +178,14 @@ namespace odb
kind_bool
};
- clause_part (kind_type k): kind (k) {}
- clause_part (kind_type k, const std::string& p): kind (k), part (p) {}
+ clause_part (kind_type k): kind (k), bool_part (false) {}
+ clause_part (kind_type k, const std::string& p)
+ : kind (k), part (p), bool_part (false) {}
clause_part (bool p): kind (kind_bool), bool_part (p) {}
kind_type kind;
std::string part; // If kind is param, then part is conversion expr.
- bool bool_part = false;
+ bool bool_part;
};
query_base ()