]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1848] PgSqlConnectionPtr moved to common place
authorTomek Mrugalski <tomek@isc.org>
Fri, 29 Oct 2021 11:13:52 +0000 (13:13 +0200)
committerTomek Mrugalski <tomek@isc.org>
Wed, 17 Nov 2021 14:35:19 +0000 (15:35 +0100)
src/lib/pgsql/pgsql_connection.h
src/lib/pgsql/tests/pgsql_exchange_unittest.cc

index 89cd40f76a98c1b8b2f889333a7f4763034db2b3..1d118e4f4163e60866cf03753212c9d67b889a88 100644 (file)
@@ -471,6 +471,9 @@ public:
     isc::asiolink::IOServicePtr io_service_;
 };
 
+/// @brief Defines a pointer to a PgSqlConnection
+typedef boost::shared_ptr<PgSqlConnection> PgSqlConnectionPtr;
+
 } // end of isc::db namespace
 } // end of isc namespace
 
index de45fda0b76697b4ce07096185ef09834f7a7b18..ee59ac7dd43ca9171994d516e9fa7870d518ef10 100644 (file)
@@ -91,8 +91,6 @@ TEST(PsqlBindArray, addDataTest) {
     EXPECT_EQ(expected, b.toText());
 }
 
-/// @brief Defines a pointer to a PgSqlConnection
-typedef boost::shared_ptr<PgSqlConnection> PgSqlConnectionPtr;
 /// @brief Defines a pointer to a PgSqlResult
 typedef boost::shared_ptr<PgSqlResult> PgSqlResultPtr;