summaryrefslogtreecommitdiff
path: root/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp')
-rw-r--r--cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp b/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp
index 8dafedc7dd1..a77bc4aafc5 100644
--- a/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp
+++ b/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp
@@ -414,7 +414,7 @@ CPatchDlg::OnStartPatch()
properties->setProperty("IcePatch2Client.Remove", remove);
DialogPatcherFeedbackPtr feedback = new DialogPatcherFeedback(this);
- IcePatch2::PatcherPtr patcher = new IcePatch2::Patcher(_communicator, feedback);
+ IcePatch2::PatcherPtr patcher = IcePatch2::PatcherFactory::create(_communicator, feedback);
//
// Disable a few controls during the patch process.