summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 15:27:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 15:27:19 +0300
commit852b327946b004dc233a6fff4ac523c5ed8b3b45 (patch)
tree3c8c60d9c06ce949e47a0ee085a2eb1064507ba7 /plugins/Dbx_mdbx/src
parent8a74e7495ce5ad39de4f5c25121a84d35df90c36 (diff)
mir_getLP() call went into CMPluginBase::CMPluginBase, thus it's not needed in each plugin. mir_getLP() remains for compatibility with pascal plugins only
Diffstat (limited to 'plugins/Dbx_mdbx/src')
-rw-r--r--plugins/Dbx_mdbx/src/init.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/Dbx_mdbx/src/init.cpp b/plugins/Dbx_mdbx/src/init.cpp
index ff2731bdca..a624510cb7 100644
--- a/plugins/Dbx_mdbx/src/init.cpp
+++ b/plugins/Dbx_mdbx/src/init.cpp
@@ -82,9 +82,6 @@ static int grokHeader(const TCHAR *profile)
// returns 0 if all the APIs are injected otherwise, 1
static MDatabaseCommon* loadDatabase(const TCHAR *profile, BOOL bReadOnly)
{
- // set the memory, lists & UTF8 manager
- mir_getLP(&pluginInfoEx);
-
std::unique_ptr<CDbxMDBX> db(new CDbxMDBX(profile, (bReadOnly) ? DBMODE_READONLY : 0));
if (db->Map() != ERROR_SUCCESS)
return nullptr;