summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db3x_mmap/src/init.cpp')
-rw-r--r--plugins/Db3x_mmap/src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Db3x_mmap/src/init.cpp b/plugins/Db3x_mmap/src/init.cpp
index f2236976a6..d283f944cb 100644
--- a/plugins/Db3x_mmap/src/init.cpp
+++ b/plugins/Db3x_mmap/src/init.cpp
@@ -80,14 +80,14 @@ static MIDatabase* LoadDatabase(const TCHAR *profile, BOOL bReadOnly)
return db.release();
}
-static int UnloadDatabase(MIDatabase* db)
+static int UnloadDatabase(MIDatabase *db)
{
g_Dbs.remove((CDb3Mmap*)db);
delete (CDb3Mmap*)db;
return 0;
}
-MIDatabaseChecker* CheckDb(const TCHAR* profile, int *error)
+MIDatabaseChecker* CheckDb(const TCHAR *profile, int *error)
{
std::auto_ptr<CDb3Mmap> db(new CDb3Mmap(profile, true));
if (db->Load(true) != ERROR_SUCCESS) {