From 94c9f7a9ac7aa3f2ebe839a10b96bd7171da1738 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 24 May 2011 16:34:47 +0200 Subject: Correct native_binding struct --- odb/pgsql/binding.hxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'odb') diff --git a/odb/pgsql/binding.hxx b/odb/pgsql/binding.hxx index 50c655e..3fb9153 100644 --- a/odb/pgsql/binding.hxx +++ b/odb/pgsql/binding.hxx @@ -23,19 +23,19 @@ namespace odb { public: - native_binding (const char* const* v, - const int* l, - const int* f, + native_binding (char** v, + int* l, + int* f, std::size_t n) - : values (v), lengths (l), formats (f), version (0), count (n) + : values (v), lengths (l), formats (f), count (n), version (0) { } - const char* const* values; - const int* lengths; - const int* formats; - std::size_t version; + char** values; + int* lengths; + int* formats; std::size_t count; + std::size_t version; private: native_binding (const native_binding&); -- cgit v1.1