diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-10-30 11:26:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-30 11:26:26 +0100 |
commit | 8f738342bc32e4fd0233f52a5282b4a1bfc72ba2 (patch) | |
tree | 6997bce368dcce4959af57118f92a34c5df0c5c6 | |
parent | 5ab07ed32a768d484284f1d0e58f61c2ef9d398a (diff) | |
parent | ccb2b4041217e107bd9eafa4cf5856dbff83cda9 (diff) | |
download | icestorm-8f738342bc32e4fd0233f52a5282b4a1bfc72ba2.tar.gz icestorm-8f738342bc32e4fd0233f52a5282b4a1bfc72ba2.tar.bz2 icestorm-8f738342bc32e4fd0233f52a5282b4a1bfc72ba2.zip |
Merge pull request #187 from jburgess777/icebox-compile-warning
Fix compile warning in icetime.cc
-rw-r--r-- | icetime/icetime.cc | 2 |
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; } |