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 --- tests/ingen_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index 459af215..1eb184e4 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -187,7 +187,7 @@ main(int argc, char** argv) delete cmds; // Save resulting graph - Store::iterator r = world->store()->find(Raul::Path("/")); + auto r = world->store()->find(Raul::Path("/")); const std::string base = Glib::path_get_basename(cmds_file_path); const std::string out_name = base.substr(0, base.find('.')) + ".out.ingen"; const std::string out_path = Glib::build_filename(Glib::get_current_dir(), out_name); -- cgit v1.2.1