summaryrefslogtreecommitdiff
path: root/libpqpp/pq-binarycolumn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-binarycolumn.cpp')
-rw-r--r--libpqpp/pq-binarycolumn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-binarycolumn.cpp b/libpqpp/pq-binarycolumn.cpp
index ff49b26..1c6f9e2 100644
--- a/libpqpp/pq-binarycolumn.cpp
+++ b/libpqpp/pq-binarycolumn.cpp
@@ -19,7 +19,7 @@ PQ::BinaryColumn::apply(DB::HandleField & h) const
case 1043: //VARCHAROID:
case 25: //TEXTOID:
case 142: //XMLOID:
- h.string(value(), length());
+ h.string({ value(), length() });
break;
case 16: //BOOLOID:
h.boolean(valueAs<bool>());