From 8d2b4094f891d20381f65e3180b2b053830f3050 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 9 Mar 2014 15:00:43 +0000 Subject: - unused options removed - duplicated events in history fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@8504 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_db_int.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/m_db_int.h b/include/m_db_int.h index 4848bad326..59a555e720 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -56,6 +56,9 @@ struct DBCachedContact MCONTACT *pSubs; MCONTACT parentID; // == 0 -> not a subcontact int nDefault; // default sub number + + __forceinline bool IsMeta() const { return nSubs != -1; } + __forceinline bool IsSub() const { return parentID != 0; } }; interface MIDatabaseCache : public MZeroedObject -- cgit v1.2.3