1
0
Fork 0
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:
bolero-MURAKAMI 2014-01-14 00:18:06 +09:00
parent 5aacc92a14
commit 7640eca894
82 changed files with 139 additions and 120 deletions

View file

@ -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)