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/PatchagePort.hpp | |
parent | 6d5aca1fb1552ad791a59507ebbafcda7884cb6c (diff) | |
download | patchage-34a5ca666a2dceb9eacc1087acb7bebf2f7e2758.tar.gz patchage-34a5ca666a2dceb9eacc1087acb7bebf2f7e2758.tar.bz2 patchage-34a5ca666a2dceb9eacc1087acb7bebf2f7e2758.zip |
Use auto where appropriate
Diffstat (limited to 'src/PatchagePort.hpp')
-rw-r--r-- | src/PatchagePort.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchagePort.hpp b/src/PatchagePort.hpp index 5ccc751..f351bae 100644 --- a/src/PatchagePort.hpp +++ b/src/PatchagePort.hpp @@ -62,7 +62,7 @@ public: /** Returns the full name of this port, as "modulename:portname" */ std::string full_name() const { - PatchageModule* pmod = dynamic_cast<PatchageModule*>(get_module()); + auto* pmod = dynamic_cast<PatchageModule*>(get_module()); return std::string(pmod->name()) + ":" + _name; } |