db/Interface: add attribute "plugin"
The new method IsPlugin() replaces the "is_simple" flag.
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
LazyDatabase::LazyDatabase(Database *_db)
|
||||
:Database(_db->GetPlugin()), db(_db), open(false) {}
|
||||
|
||||
LazyDatabase::~LazyDatabase()
|
||||
{
|
||||
assert(!open);
|
||||
|
Reference in New Issue
Block a user