summaryrefslogtreecommitdiff
path: root/common/accel-logarithmic.hpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-07-31 01:37:41 -0400
committera1xd <[email protected]>2020-07-31 01:37:41 -0400
commitb3ed8fd4e4fcad0b749126dee62588260d74b106 (patch)
tree5a2621096e038f29ca64f8cfac5f452a85f15056 /common/accel-logarithmic.hpp
parentMake weight a member of accel_base (diff)
downloadrawaccel-b3ed8fd4e4fcad0b749126dee62588260d74b106.tar.xz
rawaccel-b3ed8fd4e4fcad0b749126dee62588260d74b106.zip
add more tweaks for st-refactor
Diffstat (limited to 'common/accel-logarithmic.hpp')
-rw-r--r--common/accel-logarithmic.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/accel-logarithmic.hpp b/common/accel-logarithmic.hpp
index b628327..928eda9 100644
--- a/common/accel-logarithmic.hpp
+++ b/common/accel-logarithmic.hpp
@@ -9,7 +9,7 @@ namespace rawaccel {
/// <summary> Struct to hold logarithmic acceleration implementation. </summary>
struct accel_logarithmic : accel_base {
- accel_logarithmic(accel_args args) : accel_base(args) {}
+ using accel_base::accel_base;
inline double accelerate(double speed) const {
//f(x) = log(m*x+1)