summaryrefslogtreecommitdiff
path: root/libopie2
authorzecke <zecke>2002-09-24 16:12:30 (UTC)
committer zecke <zecke>2002-09-24 16:12:30 (UTC)
commit262dfbf10d031ab8a80948cd1485d747ad2c931b (patch) (side-by-side diff)
treeeac43bd496fc1886584fcbf174271f0d396fbc3e /libopie2
parent7b065f0388604e0485fa64a14abdf939dceab954 (diff)
downloadopie-262dfbf10d031ab8a80948cd1485d747ad2c931b.zip
opie-262dfbf10d031ab8a80948cd1485d747ad2c931b.tar.gz
opie-262dfbf10d031ab8a80948cd1485d747ad2c931b.tar.bz2
this inline makes loading todos twice as fast
but there is still room for improvisation
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/otodo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiepim/otodo.h b/libopie2/opiepim/otodo.h
index 1443e4f..5bd91d6 100644
--- a/libopie2/opiepim/otodo.h
+++ b/libopie2/opiepim/otodo.h
@@ -186,24 +186,24 @@ public:
bool operator<=(const OTodo &toDoEvent )const;
bool operator!=(const OTodo &toDoEvent )const;
bool operator>(const OTodo &toDoEvent )const;
bool operator>=(const OTodo &toDoEvent)const;
bool operator==(const OTodo &toDoEvent )const;
OTodo &operator=(const OTodo &toDoEvent );
private:
class OTodoPrivate;
struct OTodoData;
void deref();
- void changeOrModify();
+ inline void changeOrModify();
void copy( OTodoData* src, OTodoData* dest );
OTodoPrivate *d;
OTodoData *data;
};
inline bool OTodo::operator!=(const OTodo &toDoEvent )const {
return !(*this == toDoEvent);
}
#endif