# HG changeset patch # User David Demelier # Date 1383078725 -3600 # Node ID 08af4f99c104b5f77283f5e62016a7436b11d3d3 # Parent 2bcdee0fe8d4690dcb48cf6560e3b7d7ab300cab Update drivers a bit diff -r 2bcdee0fe8d4 -r 08af4f99c104 C++/Driver.h --- a/C++/Driver.h Thu Sep 26 19:39:24 2013 +0200 +++ b/C++/Driver.h Tue Oct 29 21:32:05 2013 +0100 @@ -24,7 +24,7 @@ #include #include -#include +#include "Date.h" /** * @enum ColumnType diff -r 2bcdee0fe8d4 -r 08af4f99c104 C++/DriverPostgres.h --- a/C++/DriverPostgres.h Thu Sep 26 19:39:24 2013 +0200 +++ b/C++/DriverPostgres.h Tue Oct 29 21:32:05 2013 +0100 @@ -125,8 +125,10 @@ public: friend class Driver; - struct PGDeleter { - void operator()(PGconn *conn) { + struct PGDeleter + { + void operator()(PGconn *conn) + { PQfinish(conn); } }; @@ -147,7 +149,7 @@ protected: /** - * @copytoc Driver::Driver + * @copydoc Driver::Driver */ DriverPostgres();