aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/date-time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/datetime/date-time.h')
-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;