diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-05-24 16:34:47 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-05-24 16:34:47 +0200 |
commit | 94c9f7a9ac7aa3f2ebe839a10b96bd7171da1738 (patch) | |
tree | b423ac1b6a977b95ecab06aaaf7225af784ec8b5 | |
parent | fa6c1cdfe3fed38144ca945289fe6c059ec502c8 (diff) |
Correct native_binding struct
-rw-r--r-- | odb/pgsql/binding.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
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&); |