From 83abb126052cc69e43804fb71222a93c80d0b3d3 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 15 Jul 2015 13:40:41 -0500 Subject: fix explicit ctor warning from cppcheck to get tests passing --- src/exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): + explicit Impl(const std::shared_ptr& indicator): m_indicator(indicator) { auto bus_name = g_strdup_printf("com.canonical.indicator.%s", indicator->name()); -- cgit v1.2.3