diff options
| author | Jacob Palecki <[email protected]> | 2020-08-11 21:16:50 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-08-11 21:16:50 -0700 |
| commit | 319eb45dee5b805eee976d7c2d6be0a9d090d3ed (patch) | |
| tree | d164cf52ce420c2c51aee2e9c0fe67c5fe5b56c5 /common/accel-natural.hpp | |
| parent | Further comments (diff) | |
| parent | Merge pull request #13 from a1xd/write-cd (diff) | |
| download | rawaccel-319eb45dee5b805eee976d7c2d6be0a9d090d3ed.tar.xz rawaccel-319eb45dee5b805eee976d7c2d6be0a9d090d3ed.zip | |
Merge branch 'master' into GainCap
Diffstat (limited to 'common/accel-natural.hpp')
| -rw-r--r-- | common/accel-natural.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/accel-natural.hpp b/common/accel-natural.hpp index c87fda8..8f002e4 100644 --- a/common/accel-natural.hpp +++ b/common/accel-natural.hpp @@ -24,7 +24,7 @@ namespace rawaccel { } void verify(const accel_args& args) const { - if (args.limit <= 1) error("limit must be greater than 1"); + if (args.limit <= 1) bad_arg("limit must be greater than 1"); } }; |