seznam / SuperiorMySqlpp

SuperiorMySQL++
GNU Lesser General Public License v3.0
31 stars 20 forks source link

fix: crashing when connection object is moved #107

Closed MrWarlockX closed 5 years ago

MrWarlockX commented 5 years ago

Fix crash (segmentation fault) when you attempt to run following scenario:

SuperiorMySqlpp::Connection movedFrom = makeConnection();
SuperiorMySqlpp::Connection connection = std::move(movedFrom);
pnov commented 5 years ago

DBDriver shouldn't have DBDriver(DBDriver&&) = default; ctor