mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix defaulted default constructor
This commit is contained in:
parent
5aacc92a14
commit
7640eca894
82 changed files with 139 additions and 120 deletions
|
@ -78,7 +78,7 @@ namespace sprout {
|
|||
value_type rate_;
|
||||
int_type samples_per_sec_;
|
||||
public:
|
||||
auto_pan_holder() = default;
|
||||
SPROUT_CONSTEXPR auto_pan_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
auto_pan_holder(auto_pan_holder const&) = default;
|
||||
SPROUT_CONSTEXPR auto_pan_holder(
|
||||
value_type const& depth, value_type const& rate,
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace sprout {
|
|||
private:
|
||||
value_type value_;
|
||||
public:
|
||||
change_volume_holder() = default;
|
||||
SPROUT_CONSTEXPR change_volume_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
change_volume_holder(change_volume_holder const&) = default;
|
||||
explicit SPROUT_CONSTEXPR change_volume_holder(value_type const& value)
|
||||
: value_(value)
|
||||
|
|
|
@ -83,7 +83,7 @@ namespace sprout {
|
|||
value_type rate_;
|
||||
int_type samples_per_sec_;
|
||||
public:
|
||||
chorus_holder() = default;
|
||||
SPROUT_CONSTEXPR chorus_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
chorus_holder(chorus_holder const&) = default;
|
||||
SPROUT_CONSTEXPR chorus_holder(
|
||||
value_type const& d, value_type const& depth, value_type const& rate,
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace sprout {
|
|||
value_type low_;
|
||||
value_type up_;
|
||||
public:
|
||||
clip_holder() = default;
|
||||
SPROUT_CONSTEXPR clip_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
clip_holder(clip_holder const&) = default;
|
||||
explicit SPROUT_CONSTEXPR clip_holder(value_type const& low = -1, value_type const& up = 1)
|
||||
: low_(low), up_(up)
|
||||
|
|
|
@ -78,7 +78,7 @@ namespace sprout {
|
|||
value_type threshold_;
|
||||
value_type ratio_;
|
||||
public:
|
||||
compress_holder() = default;
|
||||
SPROUT_CONSTEXPR compress_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
compress_holder(compress_holder const&) = default;
|
||||
SPROUT_CONSTEXPR compress_holder(value_type const& threshold, value_type const& ratio)
|
||||
: threshold_(threshold), ratio_(ratio)
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace sprout {
|
|||
value_type gain_;
|
||||
value_type level_;
|
||||
public:
|
||||
distort_holder() = default;
|
||||
SPROUT_CONSTEXPR distort_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
distort_holder(distort_holder const&) = default;
|
||||
SPROUT_CONSTEXPR distort_holder(value_type const& gain, value_type const& level)
|
||||
: gain_(gain), level_(level)
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace sprout {
|
|||
value_type gain_;
|
||||
value_type level_;
|
||||
public:
|
||||
fuzz_holder() = default;
|
||||
SPROUT_CONSTEXPR fuzz_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
fuzz_holder(fuzz_holder const&) = default;
|
||||
SPROUT_CONSTEXPR fuzz_holder(value_type const& gain, value_type const& level)
|
||||
: gain_(gain), level_(level)
|
||||
|
|
|
@ -71,7 +71,7 @@ namespace sprout {
|
|||
private:
|
||||
value_type threshold_;
|
||||
public:
|
||||
noise_gate_holder() = default;
|
||||
SPROUT_CONSTEXPR noise_gate_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
noise_gate_holder(noise_gate_holder const&) = default;
|
||||
explicit SPROUT_CONSTEXPR noise_gate_holder(value_type const& threshold)
|
||||
: threshold_(threshold)
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace sprout {
|
|||
value_type gain_;
|
||||
value_type level_;
|
||||
public:
|
||||
overdrive_holder() = default;
|
||||
SPROUT_CONSTEXPR overdrive_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
overdrive_holder(overdrive_holder const&) = default;
|
||||
SPROUT_CONSTEXPR overdrive_holder(value_type const& gain, value_type const& level)
|
||||
: gain_(gain), level_(level)
|
||||
|
|
|
@ -78,7 +78,7 @@ namespace sprout {
|
|||
value_type delay_;
|
||||
int_type samples_per_sec_;
|
||||
public:
|
||||
pseudo_stereo_holder() = default;
|
||||
SPROUT_CONSTEXPR pseudo_stereo_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
pseudo_stereo_holder(pseudo_stereo_holder const&) = default;
|
||||
explicit SPROUT_CONSTEXPR pseudo_stereo_holder(
|
||||
value_type const& delay, int_type samples_per_sec = 44100
|
||||
|
|
|
@ -78,7 +78,7 @@ namespace sprout {
|
|||
std::size_t repeat_;
|
||||
int_type samples_per_sec_;
|
||||
public:
|
||||
reverb_holder() = default;
|
||||
SPROUT_CONSTEXPR reverb_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
reverb_holder(reverb_holder const&) = default;
|
||||
SPROUT_CONSTEXPR reverb_holder(
|
||||
value_type const& attenuation, value_type const& delay,
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace sprout {
|
|||
private:
|
||||
sprout::value_holder<range2_type&> range_;
|
||||
public:
|
||||
superpose_holder() = default;
|
||||
SPROUT_CONSTEXPR superpose_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
superpose_holder(superpose_holder const&) = default;
|
||||
explicit SPROUT_CONSTEXPR superpose_holder(range2_type& range)
|
||||
: range_(range)
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace sprout {
|
|||
value_type rate_;
|
||||
int_type samples_per_sec_;
|
||||
public:
|
||||
tremolo_holder() = default;
|
||||
SPROUT_CONSTEXPR tremolo_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
tremolo_holder(tremolo_holder const&) = default;
|
||||
SPROUT_CONSTEXPR tremolo_holder(value_type const& depth, value_type const& rate, int_type samples_per_sec = 44100)
|
||||
: depth_(depth), rate_(rate), samples_per_sec_(samples_per_sec)
|
||||
|
|
|
@ -82,7 +82,7 @@ namespace sprout {
|
|||
value_type rate_;
|
||||
int_type samples_per_sec_;
|
||||
public:
|
||||
vibrato_holder() = default;
|
||||
SPROUT_CONSTEXPR vibrato_holder() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
vibrato_holder(vibrato_holder const&) = default;
|
||||
SPROUT_CONSTEXPR vibrato_holder(
|
||||
value_type const& d, value_type const& depth, value_type const& rate,
|
||||
|
|
|
@ -52,7 +52,7 @@ namespace sprout {
|
|||
typedef typename generator_type::engine_type engine_type;
|
||||
typedef typename generator_type::distribution_type distribution_type;
|
||||
public:
|
||||
white_noise_range() = default;
|
||||
SPROUT_CONSTEXPR white_noise_range() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
white_noise_range(white_noise_range const&) = default;
|
||||
explicit SPROUT_CONSTEXPR white_noise_range(
|
||||
range_type& range,
|
||||
|
@ -92,7 +92,7 @@ namespace sprout {
|
|||
typedef typename generator_type::engine_type engine_type;
|
||||
typedef typename generator_type::distribution_type distribution_type;
|
||||
public:
|
||||
white_noise_range() = default;
|
||||
SPROUT_CONSTEXPR white_noise_range() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
white_noise_range(white_noise_range const&) = default;
|
||||
explicit SPROUT_CONSTEXPR white_noise_range(
|
||||
engine_type const& gen,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue