Skip to content

Commit cb018bf

Browse files
authored
Catch-all for std::invalid_argument for g++<8 (#84)
1 parent 859d3f3 commit cb018bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.2.0
1+
v1.2.1

comfortable-swipe-main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ int main(int argc, char *argv[]) {
9292
float threshold = 0.0f;
9393
try {
9494
threshold = stof(config["threshold"]);
95-
} catch (std::invalid_argument) {
95+
} catch (...) {
9696
}
9797
// create swipe handler
9898
gesture_swipe_xdokey keyswipe(commands, threshold);

0 commit comments

Comments
 (0)