summaryrefslogtreecommitdiff
path: root/libmysqlpp/unittests
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-07 19:35:18 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-07 19:35:18 +0000
commita84a696a3812446a33761cc0b1669d0f5bbf9335 (patch)
tree7c5d5cc5119a2cb36b478cf0da971b449bd79df0 /libmysqlpp/unittests
parentFix test of insertIds (diff)
downloadlibdbpp-mysql-a84a696a3812446a33761cc0b1669d0f5bbf9335.tar.bz2
libdbpp-mysql-a84a696a3812446a33761cc0b1669d0f5bbf9335.tar.xz
libdbpp-mysql-a84a696a3812446a33761cc0b1669d0f5bbf9335.zip
Update to new libdbpp interfacelibdbpp-mysql-1.4.0
Diffstat (limited to 'libmysqlpp/unittests')
-rw-r--r--libmysqlpp/unittests/testmysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqlpp/unittests/testmysql.cpp b/libmysqlpp/unittests/testmysql.cpp
index 04e7212..434ce40 100644
--- a/libmysqlpp/unittests/testmysql.cpp
+++ b/libmysqlpp/unittests/testmysql.cpp
@@ -85,7 +85,7 @@ BOOST_AUTO_TEST_CASE( bindAndSelectOther )
while (select->fetch()) {
assertColumnValueHelper(*select, 0, 4);
assertColumnValueHelper(*select, 1, 123.45);
- assertColumnValueHelper(*select, 2, std::string("some text"));
+ assertColumnValueHelper(*select, 2, std::string_view("some text"));
assertColumnValueHelper(*select, 3, true);
assertColumnValueHelper(*select, 4, boost::posix_time::ptime_from_tm({ 3, 6, 23, 27, 3, 115, 0, 0, 0, 0, 0}));
assertColumnValueHelper(*select, 5, boost::posix_time::time_duration(38, 13, 12));