aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-06-26 20:46:06 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-06-26 20:46:06 -0500
commit90debef5ca85c6a51cf85d6f6b9d402ff5077b0b (patch)
tree6d7df861eb5f2267c18cf751273ce558c52ae16f /src
parentda980e33f340734c91950d244b980c7d8b5eef95 (diff)
downloadayatana-indicator-datetime-90debef5ca85c6a51cf85d6f6b9d402ff5077b0b.tar.gz
ayatana-indicator-datetime-90debef5ca85c6a51cf85d6f6b9d402ff5077b0b.tar.bz2
ayatana-indicator-datetime-90debef5ca85c6a51cf85d6f6b9d402ff5077b0b.zip
fix clang++ warning about an unused private field in EdsEngine
Diffstat (limited to 'src')
-rw-r--r--src/engine-eds.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp
index 80a47da..58be0c4 100644
--- a/src/engine-eds.cpp
+++ b/src/engine-eds.cpp
@@ -41,8 +41,7 @@ class EdsEngine::Impl
{
public:
- Impl(EdsEngine& owner):
- m_owner(owner),
+ Impl():
m_cancellable(g_cancellable_new())
{
e_source_registry_new(m_cancellable, on_source_registry_ready, this);
@@ -492,7 +491,6 @@ private:
return G_SOURCE_CONTINUE;
}
- EdsEngine& m_owner;
core::Signal<> m_changed;
std::set<ESource*> m_sources;
std::map<ESource*,ECalClient*> m_clients;
@@ -508,7 +506,7 @@ private:
***/
EdsEngine::EdsEngine():
- p(new Impl(*this))
+ p(new Impl())
{
}