From 37729e5b314e39fb750a3fb46a005acdb15b4ac2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 16:37:00 -0500 Subject: Use auto for iterators --- src/gui/PropertiesWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/PropertiesWindow.cpp') diff --git a/src/gui/PropertiesWindow.cpp b/src/gui/PropertiesWindow.cpp index c259a92f..31e0aff4 100644 --- a/src/gui/PropertiesWindow.cpp +++ b/src/gui/PropertiesWindow.cpp @@ -392,7 +392,7 @@ PropertiesWindow::on_show() void PropertiesWindow::change_property(const Raul::URI& key, const Atom& value) { - Records::iterator r = _records.find(key); + auto r = _records.find(key); if (r == _records.end()) { add_property(key, value); _table->show_all(); @@ -467,7 +467,7 @@ PropertiesWindow::get_value(LV2_URID type, Gtk::Widget* value_widget) void PropertiesWindow::on_change(const Raul::URI& key) { - Records::iterator r = _records.find(key); + auto r = _records.find(key); if (r == _records.end()) { return; } -- cgit v1.2.1