mirror of https://github.com/YosysHQ/icestorm.git
Merge pull request #187 from jburgess777/icebox-compile-warning
Fix compile warning in icetime.cc
This commit is contained in:
commit
8f738342bc
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue