Compare commits

...

1 Commits

Author SHA1 Message Date
Rico Tiongson
3fa7b091c3 Catch-all for std::invalid_argument for g++<8 2020-05-07 21:30:07 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
v1.2.0
v1.2.1

View File

@ -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);