From: Razvan Becheriu Date: Tue, 5 Mar 2019 07:04:40 +0000 (+0200) Subject: fixed compilation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=956f3d9294f5ca8f463814f98e4937dd9dbf5c5a;p=thirdparty%2Fkea.git fixed compilation --- diff --git a/src/lib/cql/tests/cql_connection_unittest.cc b/src/lib/cql/tests/cql_connection_unittest.cc index a35717db39..6bce88a2ae 100644 --- a/src/lib/cql/tests/cql_connection_unittest.cc +++ b/src/lib/cql/tests/cql_connection_unittest.cc @@ -60,22 +60,5 @@ TEST(CqlConnection, statementMapHash) { ASSERT_EQ(map.size(), 1u); } -/// @brief Check anything related to exchange types. -TEST(CqlConnection, exchangeTypeCoverage) { - // Check that const and non-const are supported and both point to the same - // exchange type. - int i = 1; - - // non-const - int* pi = &i; - boost::any bi(pi); - - // const - int* const cpi = &i; - boost::any bci(cpi); - - ASSERT_EQ(exchangeType(bi), exchangeType(bci)); -} - } // namespace