aboutsummaryrefslogtreecommitdiff
path: root/src/exporter.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-07-15 13:40:41 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-07-15 13:40:41 -0500
commit83abb126052cc69e43804fb71222a93c80d0b3d3 (patch)
treeb3c77d94c65efbdc8e1a4523c6e52e0b1e96f5c1 /src/exporter.cpp
parentab48c81a5a73cc1065f247bc26fa0b565c6565ef (diff)
downloadayatana-indicator-display-83abb126052cc69e43804fb71222a93c80d0b3d3.tar.gz
ayatana-indicator-display-83abb126052cc69e43804fb71222a93c80d0b3d3.tar.bz2
ayatana-indicator-display-83abb126052cc69e43804fb71222a93c80d0b3d3.zip
fix explicit ctor warning from cppcheck to get tests passing
Diffstat (limited to 'src/exporter.cpp')
-rw-r--r--src/exporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exporter.cpp b/src/exporter.cpp
index 21e8af7..252bbdf 100644
--- a/src/exporter.cpp
+++ b/src/exporter.cpp
@@ -23,7 +23,7 @@ class Exporter::Impl
{
public:
- Impl(const std::shared_ptr<Indicator>& indicator):
+ explicit Impl(const std::shared_ptr<Indicator>& indicator):
m_indicator(indicator)
{
auto bus_name = g_strdup_printf("com.canonical.indicator.%s", indicator->name());