summaryrefslogtreecommitdiff
path: root/libpqpp/pq-column.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-04 16:56:59 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-04 16:56:59 +0000
commit36d1ebb68359d7faa194a1f62c17011b462a3a1f (patch)
tree264111badc785108c3cd2806d3db0f790e8e31a6 /libpqpp/pq-column.h
parentRemove unnecessary calls to .string() (diff)
downloadlibdbpp-postgresql-36d1ebb68359d7faa194a1f62c17011b462a3a1f.tar.bz2
libdbpp-postgresql-36d1ebb68359d7faa194a1f62c17011b462a3a1f.tar.xz
libdbpp-postgresql-36d1ebb68359d7faa194a1f62c17011b462a3a1f.zip
Switch to string_view
Diffstat (limited to 'libpqpp/pq-column.h')
-rw-r--r--libpqpp/pq-column.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-column.h b/libpqpp/pq-column.h
index f6050ea..5c71d86 100644
--- a/libpqpp/pq-column.h
+++ b/libpqpp/pq-column.h
@@ -20,7 +20,7 @@ namespace PQ {
template<typename T>
inline T * valueAsPtr() const { return (T*)(value()); }
const char * value() const;
- int length() const;
+ std::size_t length() const;
const SelectBase * sc;
const Oid oid;