From ce67ce69028c730e1058757504074ffa58294122 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Jan 2014 18:11:20 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@7911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbintf.cpp | 14 -------------- plugins/Db3x_mmap/src/dbintfm.cpp | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'plugins/Db3x_mmap') diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp index a6b579fc0d..07634ae46d 100644 --- a/plugins/Db3x_mmap/src/dbintf.cpp +++ b/plugins/Db3x_mmap/src/dbintf.cpp @@ -190,20 +190,6 @@ static CheckWorker Workers[6] = &CDb3Base::WorkFinalTasks }; -int CDb3Mmap::PrepareCheck() -{ - int ret = CheckDbHeaders(); - if (ret != ERROR_SUCCESS) - return ret; - - InitCache(); - InitModuleNames(); - if ((ret = InitCrypt()) != ERROR_SUCCESS) - return ret; - - return ERROR_SUCCESS; -} - int CDb3Base::Start(DBCHeckCallback *callback) { cb = callback; diff --git a/plugins/Db3x_mmap/src/dbintfm.cpp b/plugins/Db3x_mmap/src/dbintfm.cpp index d917ef300d..83d113e70c 100644 --- a/plugins/Db3x_mmap/src/dbintfm.cpp +++ b/plugins/Db3x_mmap/src/dbintfm.cpp @@ -44,3 +44,17 @@ int CDb3Mmap::Load(bool bSkipInit) return res; } + +int CDb3Mmap::PrepareCheck() +{ + int ret = CheckDbHeaders(); + if (ret != ERROR_SUCCESS) + return ret; + + InitCache(); + InitModuleNames(); + if ((ret = InitCrypt()) != ERROR_SUCCESS) + return ret; + + return ERROR_SUCCESS; +} -- cgit v1.2.3