diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-12 18:53:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-12 18:53:26 +0300 |
commit | 376f5d4859ba96bff4a3c4d7c9622664b9e578d7 (patch) | |
tree | 9acdeae557a62624cc8287534f5d6eafc7c6aefb /src/mir_core | |
parent | ba4509bbbac4a2db8ff44f3fc6059d2543d6aeae (diff) |
db_get_current() also returns MDatabaseCommon*
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/src/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/db.cpp b/src/mir_core/src/db.cpp index c4da5668d1..1f20b42098 100644 --- a/src/mir_core/src/db.cpp +++ b/src/mir_core/src/db.cpp @@ -40,7 +40,7 @@ MIR_CORE_DLL(int) db_get_contact_count(void) return (currDb) ? currDb->GetContactCount() : 0;
}
-MIR_CORE_DLL(MIDatabase*) db_get_current()
+MIR_CORE_DLL(MDatabaseCommon*) db_get_current()
{
return currDb;
}
|