diff options
author | Max Kellermann <max@duempel.org> | 2014-02-19 23:17:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-19 23:17:21 +0100 |
commit | 85b8675e7a11a81bda4b4328e19e433768048911 (patch) | |
tree | fa69fa3360f8790331ddf874608d6411aecc14d4 /src/db/plugins/LazyDatabase.cxx | |
parent | ae594ad92c1a6dc4aee3e83fa4ab94075b0170c1 (diff) | |
download | mpd-85b8675e7a11a81bda4b4328e19e433768048911.tar.gz mpd-85b8675e7a11a81bda4b4328e19e433768048911.tar.xz mpd-85b8675e7a11a81bda4b4328e19e433768048911.zip |
db/Interface: add attribute "plugin"
The new method IsPlugin() replaces the "is_simple" flag.
Diffstat (limited to '')
-rw-r--r-- | src/db/plugins/LazyDatabase.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/db/plugins/LazyDatabase.cxx b/src/db/plugins/LazyDatabase.cxx index ffa861e36..2b576b1ee 100644 --- a/src/db/plugins/LazyDatabase.cxx +++ b/src/db/plugins/LazyDatabase.cxx @@ -23,6 +23,9 @@ #include <assert.h> +LazyDatabase::LazyDatabase(Database *_db) + :Database(_db->GetPlugin()), db(_db), open(false) {} + LazyDatabase::~LazyDatabase() { assert(!open); |