From 36d1ebb68359d7faa194a1f62c17011b462a3a1f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 4 Feb 2019 16:56:59 +0000 Subject: Switch to string_view --- libpqpp/pq-column.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp/pq-column.h') 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 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; -- cgit v1.2.3