aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--icetime/icetime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/icetime/icetime.cc b/icetime/icetime.cc
index 35ce99a..c49e2e2 100644
--- a/icetime/icetime.cc
+++ b/icetime/icetime.cc
@@ -1320,7 +1320,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;
}