X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Freport_problem_dialog.cc;h=68411ee917144f98a5f16879a9a5be360d95c81a;hp=1a32e8fad3d0fe11ceee6b7e1a9850ac49a9437c;hb=a8a0dfd1b21de6c0facf965ab119833ff6f790bf;hpb=e669b562937786bf5b771c927cc03a4074b01be8 diff --git a/src/wx/report_problem_dialog.cc b/src/wx/report_problem_dialog.cc index 1a32e8fad..68411ee91 100644 --- a/src/wx/report_problem_dialog.cc +++ b/src/wx/report_problem_dialog.cc @@ -24,11 +24,9 @@ #include "lib/job_manager.h" #include "lib/send_problem_report_job.h" #include -#include using std::string; using boost::shared_ptr; -using boost::make_shared; /** @param film Film that we are working on, or 0 */ ReportProblemDialog::ReportProblemDialog (wxWindow* parent, shared_ptr film) @@ -105,5 +103,5 @@ ReportProblemDialog::report () return; } - JobManager::instance()->add (boost::make_shared (_film, wx_to_std (_email->GetValue ()), wx_to_std (_summary->GetValue ()))); + JobManager::instance()->add (shared_ptr (new SendProblemReportJob (_film, wx_to_std (_email->GetValue ()), wx_to_std (_summary->GetValue ())))); }