aboutsummaryrefslogtreecommitdiffstats
path: root/icetime
diff options
context:
space:
mode:
Diffstat (limited to 'icetime')
-rw-r--r--icetime/icetime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/icetime/icetime.cc b/icetime/icetime.cc
index 16ad142..a5a27a0 100644
--- a/icetime/icetime.cc
+++ b/icetime/icetime.cc
@@ -1305,7 +1305,7 @@ std::string ecnetname_to_vlog(std::string ec_name)
} else {
return ec_name;
}
- } catch(std::invalid_argument e) { // Not numeric and stoi throws exception
+ } catch(std::invalid_argument &e) { // Not numeric and stoi throws exception
return ec_name;
}