Mercurial > code
changeset 181:08af4f99c104
Update drivers a bit
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 29 Oct 2013 21:32:05 +0100 |
parents | 2bcdee0fe8d4 |
children | 15b264d9e833 |
files | C++/Driver.h C++/DriverPostgres.h |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 <memory> #include <string> -#include <common/Date.h> +#include "Date.h" /** * @enum ColumnType
--- 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();