diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/dkdm_output_panel.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/wx/dkdm_output_panel.cc b/src/wx/dkdm_output_panel.cc index e78da98da..e85e29214 100644 --- a/src/wx/dkdm_output_panel.cc +++ b/src/wx/dkdm_output_panel.cc @@ -49,9 +49,11 @@ using std::exception; using std::function; using std::list; using std::make_pair; +using std::make_shared; using std::pair; using std::shared_ptr; using std::string; +using std::vector; DKDMOutputPanel::DKDMOutputPanel (wxWindow* parent) @@ -173,14 +175,12 @@ DKDMOutputPanel::make ( ); if (_email->GetValue ()) { - job.reset ( - new SendKDMEmailJob ( - kdms, - _filename_format->get(), - _filename_format->get(), - name, - {} - ) + job = make_shared<SendKDMEmailJob>( + kdms, + _filename_format->get(), + _filename_format->get(), + name, + vector<string>() ); } |
