diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:57:38 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:51 +0100 |
commit | 34a5ca666a2dceb9eacc1087acb7bebf2f7e2758 (patch) | |
tree | ded0141c05fe09f6f2b91fd4176e1ace4153787b /src/PatchageModule.cpp | |
parent | 6d5aca1fb1552ad791a59507ebbafcda7884cb6c (diff) | |
download | patchage-34a5ca666a2dceb9eacc1087acb7bebf2f7e2758.tar.gz patchage-34a5ca666a2dceb9eacc1087acb7bebf2f7e2758.tar.bz2 patchage-34a5ca666a2dceb9eacc1087acb7bebf2f7e2758.zip |
Use auto where appropriate
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 8d8dfa7..3a802f6 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -147,7 +147,7 @@ PatchagePort* PatchageModule::get_port(const std::string& name) { for (Ganv::Port* p : *this) { - PatchagePort* pport = dynamic_cast<PatchagePort*>(p); + auto* pport = dynamic_cast<PatchagePort*>(p); if (pport && pport->name() == name) { return pport; } |