Skip to content

Commit

Permalink
Catch-all for std::invalid_argument for g++<8 (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hikari9 authored May 7, 2020
1 parent 859d3f3 commit cb018bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.2.0
v1.2.1
2 changes: 1 addition & 1 deletion comfortable-swipe-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ int main(int argc, char *argv[]) {
float threshold = 0.0f;
try {
threshold = stof(config["threshold"]);
} catch (std::invalid_argument) {
} catch (...) {
}
// create swipe handler
gesture_swipe_xdokey keyswipe(commands, threshold);
Expand Down

0 comments on commit cb018bf

Please sign in to comment.