diff options
author | David Robillard <d@drobilla.net> | 2017-12-25 16:37:00 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-25 16:37:00 -0500 |
commit | 37729e5b314e39fb750a3fb46a005acdb15b4ac2 (patch) | |
tree | 5e8e316e9f186dc47bfef09c7546cc3a8f14f6bb /tests | |
parent | 05bce078b6b5cfc64f10399da3a422d00fe6f790 (diff) | |
download | ingen-37729e5b314e39fb750a3fb46a005acdb15b4ac2.tar.gz ingen-37729e5b314e39fb750a3fb46a005acdb15b4ac2.tar.bz2 ingen-37729e5b314e39fb750a3fb46a005acdb15b4ac2.zip |
Use auto for iterators
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ingen_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |