db/Interface: make the constructor protected

This commit is contained in:
Max Kellermann 2018-11-19 19:38:00 +01:00
parent ce49d99c2f
commit ed9ece5ea3

View File

@ -38,10 +38,11 @@ class TagMask;
class Database { class Database {
const DatabasePlugin &plugin; const DatabasePlugin &plugin;
public: protected:
Database(const DatabasePlugin &_plugin) noexcept Database(const DatabasePlugin &_plugin) noexcept
:plugin(_plugin) {} :plugin(_plugin) {}
public:
/** /**
* Free instance data. * Free instance data.
*/ */