summaryrefslogtreecommitdiff
path: root/profile_dbus_adaptor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'profile_dbus_adaptor.cc')
-rw-r--r--profile_dbus_adaptor.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/profile_dbus_adaptor.cc b/profile_dbus_adaptor.cc
index 13b8f598..42f7d1cf 100644
--- a/profile_dbus_adaptor.cc
+++ b/profile_dbus_adaptor.cc
@@ -76,8 +76,11 @@ map<string, ::DBus::Variant> ProfileDBusAdaptor::GetEntry(
return map<string, ::DBus::Variant>();
}
-void ProfileDBusAdaptor::DeleteEntry(const std::string& /*name*/,
- ::DBus::Error &/*error*/) {
+void ProfileDBusAdaptor::DeleteEntry(const std::string &name,
+ ::DBus::Error &error) {
+ Error e;
+ profile_->DeleteEntry(name, &e);
+ e.ToDBusError(&error);
}
} // namespace shill