From 376f5d4859ba96bff4a3c4d7c9622664b9e578d7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Apr 2018 18:53:26 +0300 Subject: db_get_current() also returns MDatabaseCommon* --- src/mir_core/src/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3