From ed9ece5ea309bf443acc957dc0b772195db51747 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 19 Nov 2018 19:38:00 +0100 Subject: [PATCH] db/Interface: make the constructor `protected` --- src/db/Interface.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/db/Interface.hxx b/src/db/Interface.hxx index 7b403d037..e7986d6f7 100644 --- a/src/db/Interface.hxx +++ b/src/db/Interface.hxx @@ -38,10 +38,11 @@ class TagMask; class Database { const DatabasePlugin &plugin; -public: +protected: Database(const DatabasePlugin &_plugin) noexcept :plugin(_plugin) {} +public: /** * Free instance data. */