diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-06-10 08:57:36 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-06-10 08:57:36 -0500 |
commit | 9213d97f8f7b743f5f59a18c5a71fc96f4dcaed6 (patch) | |
tree | da50a62da85f1cb11b80e8845c3d877b058f2b98 /include/datetime | |
parent | 806a7bb9c61ca761b532ebdbf4dd5e1f4a563661 (diff) | |
download | ayatana-indicator-datetime-9213d97f8f7b743f5f59a18c5a71fc96f4dcaed6.tar.gz ayatana-indicator-datetime-9213d97f8f7b743f5f59a18c5a71fc96f4dcaed6.tar.bz2 ayatana-indicator-datetime-9213d97f8f7b743f5f59a18c5a71fc96f4dcaed6.zip |
in date-time.h, remove unnecessary get() call. (h/t ted)
Diffstat (limited to 'include/datetime')
-rw-r--r-- | include/datetime/date-time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datetime/date-time.h b/include/datetime/date-time.h index 490ed40..4be35f7 100644 --- a/include/datetime/date-time.h +++ b/include/datetime/date-time.h @@ -66,7 +66,7 @@ public: static bool is_same_day(const DateTime& a, const DateTime& b); static bool is_same_minute(const DateTime& a, const DateTime& b); - bool is_set() const { return m_dt.get() != nullptr; } + bool is_set() const { return m_dt != nullptr; } private: std::shared_ptr<GDateTime> m_dt; |