aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/appointment.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-30 13:00:22 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-30 13:00:22 -0600
commitcc2ad2ad457313cb87e4483bf0278f670a5a5cea (patch)
treeed969267604bf802dc2b22e8c04835cd1ae83708 /include/datetime/appointment.h
parentd2caa37e18191c31d866dd3042b676c135bae50d (diff)
downloadayatana-indicator-datetime-cc2ad2ad457313cb87e4483bf0278f670a5a5cea.tar.gz
ayatana-indicator-datetime-cc2ad2ad457313cb87e4483bf0278f670a5a5cea.tar.bz2
ayatana-indicator-datetime-cc2ad2ad457313cb87e4483bf0278f670a5a5cea.zip
as per review, don't inline unless there are performance issues
Diffstat (limited to 'include/datetime/appointment.h')
-rw-r--r--include/datetime/appointment.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/datetime/appointment.h b/include/datetime/appointment.h
index e034c08..a5283c9 100644
--- a/include/datetime/appointment.h
+++ b/include/datetime/appointment.h
@@ -45,17 +45,7 @@ public:
DateTime begin;
DateTime end;
- bool operator== (const Appointment& that) const
- {
- return (color==that.color) &&
- (summary==that.summary) &&
- (url==that.url) &&
- (uid==that.uid) &&
- (is_event==that.is_event) &&
- (has_alarms==that.has_alarms) &&
- (begin==that.begin) &&
- (end==that.end);
- }
+ bool operator== (const Appointment& that) const;
};
} // namespace datetime