aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-01-23 15:09:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-01-23 15:09:05 +0200
commit318348322f753ec2b0dedc6682d7034baccefce3 (patch)
tree1274ed069bd8696c27330e9f81a3a68706b8e280
parentb0ef6b6749879d068de4f9adfd568171eaa1e760 (diff)
Fix C++98 incompatibility
-rw-r--r--odb/oracle/query.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/odb/oracle/query.hxx b/odb/oracle/query.hxx
index bf78253..d3209cd 100644
--- a/odb/oracle/query.hxx
+++ b/odb/oracle/query.hxx
@@ -175,13 +175,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 ()