Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: device/vr/vr_device_manager.cc

Issue 2108923002: device: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: device Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/vr/test/fake_vr_device_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_device_manager.cc
diff --git a/device/vr/vr_device_manager.cc b/device/vr/vr_device_manager.cc
index 4d960baa732c89037c35cb0ab5fe796fffd7edf3..4a7dd04233ea48e60ce0b878cd38d5e35b46aea8 100644
--- a/device/vr/vr_device_manager.cc
+++ b/device/vr/vr_device_manager.cc
@@ -86,7 +86,7 @@ mojo::Array<VRDisplayPtr> VRDeviceManager::GetVRDevices() {
provider->GetDevices(&devices);
mojo::Array<VRDisplayPtr> out_devices;
- for (const auto& device : devices) {
+ for (auto* device : devices) {
if (device->id() == VR_DEVICE_LAST_ID)
continue;
« no previous file with comments | « device/vr/test/fake_vr_device_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698