summaryrefslogtreecommitdiff
path: root/libodbcpp/unittests/testodbc.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 15:29:12 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 15:29:12 +0000
commit881033464c13398f78be306d8d785616f0947896 (patch)
tree38a3a320b5dd90a0b377a1b69735546c3ed84057 /libodbcpp/unittests/testodbc.cpp
parentUpdate to new libdbpp interface (diff)
downloadlibdbpp-odbc-881033464c13398f78be306d8d785616f0947896.tar.bz2
libdbpp-odbc-881033464c13398f78be306d8d785616f0947896.tar.xz
libdbpp-odbc-881033464c13398f78be306d8d785616f0947896.zip
Bring inline with clang-tidy checks
Diffstat (limited to 'libodbcpp/unittests/testodbc.cpp')
-rw-r--r--libodbcpp/unittests/testodbc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/unittests/testodbc.cpp b/libodbcpp/unittests/testodbc.cpp
index d0373a7..5263eb5 100644
--- a/libodbcpp/unittests/testodbc.cpp
+++ b/libodbcpp/unittests/testodbc.cpp
@@ -85,7 +85,7 @@ BOOST_AUTO_TEST_CASE( bindAndSelectOther )
assertColumnValueHelper(*select, 1, 123.45);
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, 4, boost::posix_time::ptime_from_tm({ 3, 6, 23, 27, 3, 115, 0, 0, 0, 0, nullptr}));
rows += 1;
}
BOOST_REQUIRE_EQUAL(1, rows);