From 262dfbf10d031ab8a80948cd1485d747ad2c931b Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 24 Sep 2002 16:12:30 +0000 Subject: this inline makes loading todos twice as fast but there is still room for improvisation --- diff --git a/libopie/pim/otodo.h b/libopie/pim/otodo.h index 1443e4f..5bd91d6 100644 --- a/libopie/pim/otodo.h +++ b/libopie/pim/otodo.h @@ -195,7 +195,7 @@ public: struct OTodoData; void deref(); - void changeOrModify(); + inline void changeOrModify(); void copy( OTodoData* src, OTodoData* dest ); OTodoPrivate *d; OTodoData *data; 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 @@ -195,7 +195,7 @@ public: struct OTodoData; void deref(); - void changeOrModify(); + inline void changeOrModify(); void copy( OTodoData* src, OTodoData* dest ); OTodoPrivate *d; OTodoData *data; -- cgit v0.9.0.2