diff options
author | David Robillard <d@drobilla.net> | 2020-11-28 23:52:02 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-28 23:52:02 +0100 |
commit | 603f5ac892cb2f4d7bde67b1151e1509d92ffbcc (patch) | |
tree | 704cd8148268d1fde2066990e76a7f1e3c92e71a /src/PatchageModule.cpp | |
parent | fe955f180f114672f6f27e1fd34acf4db7e1331e (diff) | |
download | patchage-603f5ac892cb2f4d7bde67b1151e1509d92ffbcc.tar.gz patchage-603f5ac892cb2f4d7bde67b1151e1509d92ffbcc.tar.bz2 patchage-603f5ac892cb2f4d7bde67b1151e1509d92ffbcc.zip |
Use auto for iterators
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r-- | src/PatchageModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index a4d2fe9..3662172 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -60,7 +60,7 @@ PatchageModule::update_menu() if (_type == SignalDirection::duplex) { bool has_in = false; bool has_out = false; - for (const_iterator p = begin(); p != end(); ++p) { + for (auto p = begin(); p != end(); ++p) { if ((*p)->is_input()) { has_in = true; } else { |