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

Unified Diff: device/vr/test/fake_vr_device_provider.cc

Issue 2108923002: device: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: device/vr/test/fake_vr_device_provider.cc
diff --git a/device/vr/test/fake_vr_device_provider.cc b/device/vr/test/fake_vr_device_provider.cc
index 246b3c4e1d832074e26d6421d99a4fb13cc8f968..ab055d55dd655bbb265cf024161e389ad6c5efa3 100644
--- a/device/vr/test/fake_vr_device_provider.cc
+++ b/device/vr/test/fake_vr_device_provider.cc
@@ -30,7 +30,7 @@ void FakeVRDeviceProvider::RemoveDevice(VRDevice* device) {
void FakeVRDeviceProvider::GetDevices(std::vector<VRDevice*>* devices) {
std::vector<VRDevice*>::iterator iter;
- for (auto device : devices_) {
+ for (auto* device : devices_) {
devices->push_back(device);
}
}

Powered by Google App Engine
This is Rietveld 408576698