mirror of
https://github.com/silverqx/TinyORM.git
synced 2025-12-22 19:10:19 -06:00
Used the std::enable_shared_from_this<MySqlDriver> base class to avoid passing the weak_ptr<SqlDriver> all around. It greatly simplified the code and also the logic is more correct. It also allowed to remove the SqlDatabase::driverWeak() non-const version which was dedicated exactly for this, to be able to pass it to methods that needed it, no more needed now.