summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-07 21:52:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-07 21:52:27 +0300
commit1cd15bc24f7e8cb87e9a9b96dd05ce62ce58cf0d (patch)
treea51a5fdefa1f8e5b2546547d48894867ced740b3 /plugins/Dbx_mdbx/src
parentfe0a3147a8050a987281beb4b5e1481b982c93bc (diff)
old C-style code is obsolete now because of MDatabaseCommon existence
Diffstat (limited to 'plugins/Dbx_mdbx/src')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index 93d6a7db09..e74f266248 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -30,7 +30,6 @@ CDbxMDBX::CDbxMDBX(const TCHAR *tszFileName, int iMode) :
m_maxContactId(0)
{
m_tszProfileName = mir_wstrdup(tszFileName);
- InitDbInstance(this);
mdbx_env_create(&m_env);
mdbx_env_set_maxdbs(m_env, 10);
@@ -57,7 +56,6 @@ CDbxMDBX::~CDbxMDBX()
DestroyHookableEvent(hEventDeletedEvent);
DestroyHookableEvent(hEventFilterAddedEvent);
- DestroyDbInstance(this);
mir_free(m_tszProfileName);
}