diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_database.h | 4 | ||||
-rw-r--r-- | include/m_protoint.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/m_database.h b/include/m_database.h index bfab8294c5..d3a4d06088 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -228,12 +228,12 @@ EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_next(MCONTACT hContact, const char *szPr #endif
#if defined(__cplusplus)
-class contact_iter
+class Contacts
{
const char *m_szModule;
public:
- contact_iter(const char *m = nullptr) :
+ Contacts(const char *m = nullptr) :
m_szModule(m)
{}
diff --git a/include/m_protoint.h b/include/m_protoint.h index e9477ce530..401135fd30 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -169,7 +169,7 @@ public: __forceinline void setWString(const char *name, const wchar_t* value) { db_set_ws(NULL, m_szModuleName, name, value); }
__forceinline void setWString(MCONTACT hContact, const char *name, const wchar_t* value) { db_set_ws(hContact, m_szModuleName, name, value); }
- __forceinline contact_iter acc_contact_iter() const { return contact_iter(m_szModuleName); }
+ __forceinline Contacts AccContacts() const { return Contacts(m_szModuleName); }
//////////////////////////////////////////////////////////////////////////////////////
// Service functions
|