aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-16 11:41:48 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-16 11:41:48 +0100
commitba692f8e3b90bccc345e241feb3378402ae7ef5d (patch)
treed99cbed11c392778406fe64c7c8cc1e7f7959507 /src
parentadb447d7067f73db4040ad3119a2a52cd08879a2 (diff)
parent20dbe77b8382c53650dffa0bf78a71c43d848d5d (diff)
downloadayatana-indicator-datetime-ba692f8e3b90bccc345e241feb3378402ae7ef5d.tar.gz
ayatana-indicator-datetime-ba692f8e3b90bccc345e241feb3378402ae7ef5d.tar.bz2
ayatana-indicator-datetime-ba692f8e3b90bccc345e241feb3378402ae7ef5d.zip
Merge branch 'tari01-pr/build-with-werror'
Attributes GH PR #88: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/88
Diffstat (limited to 'src')
-rw-r--r--src/wakeup-timer-powerd.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wakeup-timer-powerd.cpp b/src/wakeup-timer-powerd.cpp
index f775999..77893c8 100644
--- a/src/wakeup-timer-powerd.cpp
+++ b/src/wakeup-timer-powerd.cpp
@@ -1,6 +1,6 @@
/*
* Copyright 2014 Canonical Ltd.
- * Copyright 2021 Robert Tari
+ * Copyright 2021-2022 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -41,7 +41,6 @@ class PowerdWakeupTimer::Impl
public:
explicit Impl(const std::shared_ptr<Clock>& clock):
- m_clock(clock),
m_cancellable(g_cancellable_new())
{
g_bus_get(G_BUS_TYPE_SYSTEM, m_cancellable, on_bus_ready, this);
@@ -271,7 +270,6 @@ private:
***/
core::Signal<> m_timeout;
- const std::shared_ptr<Clock>& m_clock;
DateTime m_wakeup_time;
std::shared_ptr<GDBusConnection> m_bus;