diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-04 16:56:59 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-04 16:56:59 +0000 |
commit | 36d1ebb68359d7faa194a1f62c17011b462a3a1f (patch) | |
tree | 264111badc785108c3cd2806d3db0f790e8e31a6 /libpqpp/pq-binarycolumn.cpp | |
parent | Remove unnecessary calls to .string() (diff) | |
download | libdbpp-postgresql-36d1ebb68359d7faa194a1f62c17011b462a3a1f.tar.bz2 libdbpp-postgresql-36d1ebb68359d7faa194a1f62c17011b462a3a1f.tar.xz libdbpp-postgresql-36d1ebb68359d7faa194a1f62c17011b462a3a1f.zip |
Switch to string_view
Diffstat (limited to 'libpqpp/pq-binarycolumn.cpp')
-rw-r--r-- | libpqpp/pq-binarycolumn.cpp | 2 |
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>()); |