aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite')
-rw-r--r--odb/sqlite/connection-factory.cxx2
-rw-r--r--odb/sqlite/connection-factory.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/odb/sqlite/connection-factory.cxx b/odb/sqlite/connection-factory.cxx
index 358fa0c..f200a17 100644
--- a/odb/sqlite/connection-factory.cxx
+++ b/odb/sqlite/connection-factory.cxx
@@ -42,7 +42,7 @@ namespace odb
single_connection_factory::
create ()
{
- return single_connection_ptr (new (shared) single_connection (*db_, 0));
+ return single_connection_ptr (new (shared) single_connection (*db_));
}
connection_ptr single_connection_factory::
diff --git a/odb/sqlite/connection-factory.hxx b/odb/sqlite/connection-factory.hxx
index 04f91bf..94cd227 100644
--- a/odb/sqlite/connection-factory.hxx
+++ b/odb/sqlite/connection-factory.hxx
@@ -65,7 +65,7 @@ namespace odb
class single_connection: public connection
{
public:
- single_connection (database_type&, int extra_flags);
+ single_connection (database_type&, int extra_flags = 0);
single_connection (database_type&, sqlite3*);
private:
@@ -179,7 +179,7 @@ namespace odb
class pooled_connection: public connection
{
public:
- pooled_connection (database_type&, int extra_flags);
+ pooled_connection (database_type&, int extra_flags = 0);
pooled_connection (database_type&, sqlite3*);
private: