summaryrefslogtreecommitdiff
path: root/distrho/DistrhoPlugin.hpp
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2015-04-26 17:53:00 +0200
committerfalkTX <falktx@gmail.com>2015-04-26 17:53:00 +0200
commitdf95e431f587450cb9fb8502142aab91a329cf44 (patch)
treef54260c17cc50417b5104fde719b82748b5ec63d /distrho/DistrhoPlugin.hpp
parent4f8b332b9411c5c54b241eaab5f6d13a85e8bcab (diff)
Fix code for API changes; Update copyright date in dgl code
Diffstat (limited to 'distrho/DistrhoPlugin.hpp')
-rw-r--r--distrho/DistrhoPlugin.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp
index 3da97c7e..ad569d80 100644
--- a/distrho/DistrhoPlugin.hpp
+++ b/distrho/DistrhoPlugin.hpp
@@ -166,7 +166,7 @@ struct ParameterRanges {
/**
Constructor using custom values.
*/
- ParameterRanges(const float df, const float mn, const float mx) noexcept
+ ParameterRanges(float df, float mn, float mx) noexcept
: def(df),
min(mn),
max(mx) {}
@@ -468,7 +468,7 @@ public:
Plugin class constructor.@n
You must set all parameter values to their defaults, matching ParameterRanges::def.
*/
- Plugin(const uint32_t parameterCount, const uint32_t programCount, const uint32_t stateCount);
+ Plugin(uint32_t parameterCount, uint32_t programCount, uint32_t stateCount);
/**
Destructor.