Be sure to initialise ExportFormatSpecification::_soundcloud_upload

Initialise _soundcloud_upload in all constructors of
ExportFormatSpecification.
This commit is contained in:
Colin Fletcher 2014-07-29 15:29:54 +01:00
parent e5a20e1f9e
commit 982b95fb47

View file

@ -184,6 +184,7 @@ ExportFormatSpecification::ExportFormatSpecification (Session & s, XMLNode const
: session (s)
, _silence_beginning (s)
, _silence_end (s)
, _soundcloud_upload (false)
{
_silence_beginning.type = Time::Timecode;
_silence_end.type = Time::Timecode;
@ -196,6 +197,7 @@ ExportFormatSpecification::ExportFormatSpecification (ExportFormatSpecification
, session (other.session)
, _silence_beginning (other.session)
, _silence_end (other.session)
, _soundcloud_upload (false)
{
if (modify_name) {
set_name (other.name() + " (copy)");