From 34a5ca666a2dceb9eacc1087acb7bebf2f7e2758 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 17:57:38 +0100 Subject: Use auto where appropriate --- src/PatchagePort.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PatchagePort.hpp') 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(get_module()); + auto* pmod = dynamic_cast(get_module()); return std::string(pmod->name()) + ":" + _name; } -- cgit v1.2.1