diff options
Diffstat (limited to 'include/m_database.h')
-rw-r--r-- | include/m_database.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/m_database.h b/include/m_database.h index 972a1d2ece..03f99ee21e 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -710,15 +710,15 @@ protected: DBEVENTINFO &dbei;
MCONTACT hContact;
- virtual ~EventCursor();
- virtual MEVENT FetchNext() = 0;
-
public:
EventCursor(MCONTACT _1, DBEVENTINFO &_2) :
hContact(_1),
dbei(_2)
{ }
+ virtual ~EventCursor();
+ virtual MEVENT FetchNext() = 0;
+
__forceinline MEVENT begin() {
return FetchNext();
}
|