diff options
| author | a1xd <[email protected]> | 2020-07-31 01:37:41 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-07-31 01:37:41 -0400 |
| commit | b3ed8fd4e4fcad0b749126dee62588260d74b106 (patch) | |
| tree | 5a2621096e038f29ca64f8cfac5f452a85f15056 /common/accel-noaccel.hpp | |
| parent | Make weight a member of accel_base (diff) | |
| download | rawaccel-b3ed8fd4e4fcad0b749126dee62588260d74b106.tar.xz rawaccel-b3ed8fd4e4fcad0b749126dee62588260d74b106.zip | |
add more tweaks for st-refactor
Diffstat (limited to 'common/accel-noaccel.hpp')
| -rw-r--r-- | common/accel-noaccel.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/accel-noaccel.hpp b/common/accel-noaccel.hpp index 151002a..b7f730b 100644 --- a/common/accel-noaccel.hpp +++ b/common/accel-noaccel.hpp @@ -7,9 +7,8 @@ namespace rawaccel { /// <summary> Struct to hold acceleration implementation which applies no acceleration. </summary> struct accel_noaccel : accel_base { - accel_noaccel(accel_args args) : accel_base(args) {} + accel_noaccel(const accel_args&) : accel_base() {} - inline double accelerate(double) const { return 0; } }; } |