Index: mash/simple_wm/simple_wm.cc |
diff --git a/mash/simple_wm/simple_wm.cc b/mash/simple_wm/simple_wm.cc |
index b8f98a75bcdb6be7fd1b2567edb6297f55605601..e8c4b45e6d88a7e79420aa115c451f2430970490 100644 |
--- a/mash/simple_wm/simple_wm.cc |
+++ b/mash/simple_wm/simple_wm.cc |
@@ -46,7 +46,7 @@ class SimpleWM::WindowListModel : public aura::WindowObserver { |
} |
~WindowListModel() override { |
window_container_->RemoveObserver(this); |
- for (auto window : windows_) |
+ for (auto* window : windows_) |
window->RemoveObserver(this); |
} |