aboutsummaryrefslogtreecommitdiffstats
path: root/brillo/dbus/exported_object_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'brillo/dbus/exported_object_manager.cc')
-rw-r--r--brillo/dbus/exported_object_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/brillo/dbus/exported_object_manager.cc b/brillo/dbus/exported_object_manager.cc
index 61dae68..a2ae1fe 100644
--- a/brillo/dbus/exported_object_manager.cc
+++ b/brillo/dbus/exported_object_manager.cc
@@ -89,11 +89,11 @@ ExportedObjectManager::HandleGetManagedObjects() {
// DICT<STRING,VARIANT>>> )
bus_->AssertOnOriginThread();
ExportedObjectManager::ObjectMap objects;
- for (const auto path_pair : registered_objects_) {
+ for (const auto& path_pair : registered_objects_) {
std::map<std::string, VariantDictionary>& interfaces =
objects[path_pair.first];
const InterfaceProperties& interface2properties = path_pair.second;
- for (const auto interface : interface2properties) {
+ for (const auto& interface : interface2properties) {
interface.second.Run(&interfaces[interface.first]);
}
}