From 9213d97f8f7b743f5f59a18c5a71fc96f4dcaed6 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 10 Jun 2014 08:57:36 -0500 Subject: in date-time.h, remove unnecessary get() call. (h/t ted) --- include/datetime/date-time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/datetime') 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 m_dt; -- cgit v1.2.3