diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-07 21:52:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-07 21:52:27 +0300 |
commit | 1cd15bc24f7e8cb87e9a9b96dd05ce62ce58cf0d (patch) | |
tree | a51a5fdefa1f8e5b2546547d48894867ced740b3 /plugins | |
parent | fe0a3147a8050a987281beb4b5e1481b982c93bc (diff) |
old C-style code is obsolete now because of MDatabaseCommon existence
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Db3x_mmap/src/dbintf.cpp | 2 | ||||
-rw-r--r-- | plugins/Dbx_mdbx/src/dbintf.cpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp index da2e998595..dc775b82b1 100644 --- a/plugins/Db3x_mmap/src/dbintf.cpp +++ b/plugins/Db3x_mmap/src/dbintf.cpp @@ -49,7 +49,6 @@ CDb3Mmap::CDb3Mmap(const wchar_t *tszFileName, int iMode) : m_lOfs(50, OfsCompare)
{
m_tszProfileName = mir_wstrdup(tszFileName);
- InitDbInstance(this);
SYSTEM_INFO sinf;
GetSystemInfo(&sinf);
@@ -98,7 +97,6 @@ CDb3Mmap::~CDb3Mmap() DestroyHookableEvent(hEventDeletedEvent);
DestroyHookableEvent(hEventFilterAddedEvent);
- DestroyDbInstance(this);
mir_free(m_tszProfileName);
free(m_pNull);
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);
}
|