aboutsummaryrefslogtreecommitdiff
path: root/pgsql/types/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'pgsql/types/test.hxx')
-rw-r--r--pgsql/types/test.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/pgsql/types/test.hxx b/pgsql/types/test.hxx
index 48c30ee..500887a 100644
--- a/pgsql/types/test.hxx
+++ b/pgsql/types/test.hxx
@@ -8,6 +8,7 @@
#include <set>
#include <string>
+#include <vector>
#include <memory> // std::auto_ptr
#include <cstring> // std::memcmp
#include <cstddef> // std::size_t
@@ -139,7 +140,7 @@ struct object
std::string text_;
#pragma db type ("BYTEA")
- buffer bytea_;
+ std::vector<char> bytea_;
#pragma db type ("VARBIT(1024)")
varbit varbit_;