From a84a696a3812446a33761cc0b1669d0f5bbf9335 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 7 Feb 2019 19:35:18 +0000 Subject: Update to new libdbpp interface --- libmysqlpp/unittests/testmysql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmysqlpp/unittests') 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)); -- cgit v1.2.3