From 3526af7ec50e46aaa73d038566f42554f70f27b0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 4 Aug 2025 19:48:20 +0100 Subject: Fix a lot of clang-tidy warnings --- libpqpp/unittests/testpq.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpqpp/unittests/testpq.cpp') diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp index d610e41..1307792 100644 --- a/libpqpp/unittests/testpq.cpp +++ b/libpqpp/unittests/testpq.cpp @@ -489,7 +489,7 @@ BOOST_AUTO_TEST_CASE(bulkPerfTest) int64_t tot = 0; for (const auto & [a, b, c, d, e, f] : sel->as()) { + boost::posix_time::ptime, bool>()) { tot += a + static_cast(b) + static_cast(c.length()) + d.hours() + e.time_of_day().hours() + f; } BOOST_REQUIRE_EQUAL(tot, 1013265); @@ -509,7 +509,7 @@ BOOST_AUTO_TEST_CASE(connfail) } } -BOOST_AUTO_TEST_CASE(ssl) +BOOST_AUTO_TEST_CASE(ssl, *boost::unit_test::disabled()) { auto conn = DB::ConnectionFactory::createNew( "postgresql", "host=randomdan.homeip.net user=gentoo dbname=postgres sslmode=require"); -- cgit v1.2.3