diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-07-15 13:40:41 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2015-07-15 13:40:41 -0500 |
commit | 83abb126052cc69e43804fb71222a93c80d0b3d3 (patch) | |
tree | b3c77d94c65efbdc8e1a4523c6e52e0b1e96f5c1 /src | |
parent | ab48c81a5a73cc1065f247bc26fa0b565c6565ef (diff) | |
download | ayatana-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')
-rw-r--r-- | src/exporter.cpp | 2 |
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()); |