aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-06-10 08:57:36 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-06-10 08:57:36 -0500
commit9213d97f8f7b743f5f59a18c5a71fc96f4dcaed6 (patch)
treeda50a62da85f1cb11b80e8845c3d877b058f2b98
parent806a7bb9c61ca761b532ebdbf4dd5e1f4a563661 (diff)
downloadayatana-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)
-rw-r--r--include/datetime/date-time.h2
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;