aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-07-27 18:06:28 +0000
committerCI Train Bot <ci-train-bot@canonical.com>2015-07-27 18:06:28 +0000
commit65713ad8610f67df3232bea417108551ab2d3ae0 (patch)
treeb3c77d94c65efbdc8e1a4523c6e52e0b1e96f5c1
parent9bcea949dc0d92f311d706ed5d599e16bbe9c961 (diff)
parent83abb126052cc69e43804fb71222a93c80d0b3d3 (diff)
downloadayatana-indicator-display-65713ad8610f67df3232bea417108551ab2d3ae0.tar.gz
ayatana-indicator-display-65713ad8610f67df3232bea417108551ab2d3ae0.tar.bz2
ayatana-indicator-display-65713ad8610f67df3232bea417108551ab2d3ae0.zip
drop build-dependency on g++-4.9 Fixes: #1452323
Approved by: Pete Woods, PS Jenkins bot, Rodney Dawes
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules5
-rw-r--r--src/exporter.cpp2
3 files changed, 1 insertions, 8 deletions
diff --git a/debian/control b/debian/control
index 87624ba..4f05f74 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,6 @@ Priority: optional
Maintainer: Charles Kerr <charles.kerr@canonical.com>
Build-Depends: cmake,
dbus,
-# make g++ version explicit for ABI safety <https://wiki.ubuntu.com/cpp-11>
- g++-4.9,
libglib2.0-dev (>= 2.36),
libproperties-cpp-dev,
# for coverage reports
diff --git a/debian/rules b/debian/rules
index e39944a..c329b0a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,5 @@
#!/usr/bin/make -f
-# Explicitly selecting a G{CC,++}-version here to avoid ABI breaks
-# introduced by toolchain updates. <https://wiki.ubuntu.com/cpp-11>
-export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9
-export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9
-
%:
dh $@ --with translations
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());