diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-16 11:48:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-16 11:48:41 +0000 |
commit | ce6e5ab03d58151c4eda36d05a8436d337b2d3c0 (patch) | |
tree | 4743bda7441f8093cb0a31d4141e77cb5cfbc174 /include/m_db_int.h | |
parent | f627d0bf7a1978a9b8360ada9c199ba9667977b1 (diff) |
removed clutch for GCC (it already exists in m_system.h)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1575 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_db_int.h')
-rw-r--r-- | include/m_db_int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h index e201626232..df6671a486 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -168,7 +168,7 @@ struct DATABASELINK #define MS_DB_REGISTER_PLUGIN "DB/RegisterPlugin"
-__inline static void RegisterDatabasePlugin(DATABASELINK* pDescr)
+__forceinline void RegisterDatabasePlugin(DATABASELINK* pDescr)
{ CallService(MS_DB_REGISTER_PLUGIN, 0, (LPARAM)pDescr);
}
@@ -179,7 +179,7 @@ __inline static void RegisterDatabasePlugin(DATABASELINK* pDescr) #define MS_DB_FIND_PLUGIN "DB/FindPlugin"
-__inline static DATABASELINK* FindDatabasePlugin(const TCHAR* ptszFileName)
+__forceinline DATABASELINK* FindDatabasePlugin(const TCHAR* ptszFileName)
{ return (DATABASELINK*)CallService(MS_DB_FIND_PLUGIN, 0, (LPARAM)ptszFileName);
}
@@ -190,7 +190,7 @@ __inline static DATABASELINK* FindDatabasePlugin(const TCHAR* ptszFileName) #define MS_DB_GET_CURRENT "DB/GetCurrentDb"
-__inline static MIDatabase* GetCurrentDatabase(void)
+__forceinline MIDatabase* GetCurrentDatabase(void)
{ return (MIDatabase*)CallService(MS_DB_GET_CURRENT, 0, 0);
}
|