summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r--src/PatchageModule.cpp2
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;
}