]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#887,!572] clean up code
authorRazvan Becheriu <razvan@isc.org>
Tue, 29 Oct 2019 11:14:45 +0000 (13:14 +0200)
committerRazvan Becheriu <razvan@isc.org>
Wed, 6 Nov 2019 16:12:56 +0000 (18:12 +0200)
src/lib/mysql/mysql_connection.h

index 2186802b091e8ffc46da278430ee5bd4c27307a2..7bf3ff7363a95f553c6b3d30bf13f5b6d1d0ba1b 100644 (file)
@@ -642,7 +642,6 @@ public:
     /// and from MySqlHostDataSource.
     MySqlHolder& handle() const {
         auto result = handles_.resource();
-        // thread_local std::shared_ptr<MySqlHolder> result(std::make_shared<MySqlHolder>());
         if (connected_) {
             result->openDatabase(*(const_cast<MySqlConnection*>(this)));
         }