diff options
author | Hidehiko Abe <hidehiko@google.com> | 2018-02-20 12:04:01 +0900 |
---|---|---|
committer | Hidehiko Abe <hidehiko@google.com> | 2018-02-20 16:05:02 +0900 |
commit | 4e42e67fa291bd27b2ffb00be57a4ca9a5000526 (patch) | |
tree | 31f3113f1c771e176a665eedb2afc045824cc16f /dbus/object_manager.h | |
parent | a0cbe297e994410ce9acdae8f92d1b7592eb64b7 (diff) | |
download | libchrome-4e42e67fa291bd27b2ffb00be57a4ca9a5000526.tar.gz |
Remove modification to deal with unused-parameter warning.
libchrome used to hit unused-parameter warning. Now, libchrome is built
with -Wno-unused-parameter flag, and its client libraries/executables
are built with the header files containing pragma to suppress the warning
from libchrome.
Thus, the modification can be removed to reduce the diff from
Chrome upstream.
Bug: 73270448
Test: Built locally. Treehugger.
Change-Id: I51b6349bfdb28ed15df1d12b836adccffabe53bb
Diffstat (limited to 'dbus/object_manager.h')
-rw-r--r-- | dbus/object_manager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbus/object_manager.h b/dbus/object_manager.h index 90cf919639..842a1378a2 100644 --- a/dbus/object_manager.h +++ b/dbus/object_manager.h @@ -167,8 +167,8 @@ public: // called on each interface implementation with differing values of // |interface_name| as appropriate. An implementation class will only // receive multiple calls if it has registered for multiple interfaces. - virtual void ObjectAdded(const ObjectPath& /*object_path*/, - const std::string& /*interface_name*/) { } + virtual void ObjectAdded(const ObjectPath& object_path, + const std::string& interface_name) { } // Called by ObjectManager to inform the implementation class than an // object with the path |object_path| has been removed. Ths D-Bus interface @@ -179,8 +179,8 @@ public: // This method will be called before the Properties structure and the // ObjectProxy object for the given interface are cleaned up, it is safe // to retrieve them during removal to vary processing. - virtual void ObjectRemoved(const ObjectPath& /*object_path*/, - const std::string& /*interface_name*/) { } + virtual void ObjectRemoved(const ObjectPath& object_path, + const std::string& interface_name) { } }; // Client code should use Bus::GetObjectManager() instead of this constructor. |