aboutsummaryrefslogtreecommitdiff
path: root/tools/arcmt-test/arcmt-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arcmt-test/arcmt-test.cpp')
-rw-r--r--tools/arcmt-test/arcmt-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/arcmt-test/arcmt-test.cpp b/tools/arcmt-test/arcmt-test.cpp
index 7477f943ee..aa229d5516 100644
--- a/tools/arcmt-test/arcmt-test.cpp
+++ b/tools/arcmt-test/arcmt-test.cpp
@@ -112,7 +112,7 @@ static bool checkForMigration(StringRef resourcesPath,
// Chain in -verify checker, if requested.
VerifyDiagnosticsClient *verifyDiag = 0;
if (VerifyDiags) {
- verifyDiag = new VerifyDiagnosticsClient(*Diags, Diags->takeClient());
+ verifyDiag = new VerifyDiagnosticsClient(*Diags);
Diags->setClient(verifyDiag);
}