diff options
Diffstat (limited to 'libpqpp')
-rw-r--r-- | libpqpp/pq-command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-command.cpp b/libpqpp/pq-command.cpp index 81501bd..8857fb5 100644 --- a/libpqpp/pq-command.cpp +++ b/libpqpp/pq-command.cpp @@ -141,7 +141,7 @@ PQ::Command::bindParamF(unsigned int n, float v) void PQ::Command::bindParamS(unsigned int n, const Glib::ustring & s) { - paramSet(n, std::string_view(s.data(), s.length())); + paramSet(n, std::string_view(s.data(), s.bytes())); } void PQ::Command::bindParamS(unsigned int n, const std::string_view & s) |