mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix for constexpr disabled
This commit is contained in:
parent
84376c3f69
commit
4c996bd47b
58 changed files with 84 additions and 78 deletions
|
@ -72,12 +72,12 @@ namespace sprout {
|
|||
public:
|
||||
template<typename T, typename IntType>
|
||||
SPROUT_CONSTEXPR sprout::compost::effects::tremolo_holder<T, IntType>
|
||||
operator()(T const& depth, T const& rate, IntType samples_per_sec) {
|
||||
operator()(T const& depth, T const& rate, IntType samples_per_sec) const {
|
||||
return sprout::compost::effects::tremolo_holder<T, IntType>(depth, rate, samples_per_sec);
|
||||
}
|
||||
template<typename T>
|
||||
SPROUT_CONSTEXPR sprout::compost::effects::tremolo_holder<T>
|
||||
operator()(T const& depth, T const& rate) {
|
||||
operator()(T const& depth, T const& rate) const {
|
||||
return sprout::compost::effects::tremolo_holder<T>(depth, rate);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue