We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
new
1 parent dc5e1d0 commit d2386abCopy full SHA for d2386ab
mlir/unittests/Dialect/SPIRV/DeserializationTest.cpp
@@ -39,7 +39,7 @@ class DeserializationTest : public ::testing::Test {
39
// Register a diagnostic handler to capture the diagnostic so that we can
40
// check it later.
41
context.getDiagEngine().registerHandler([&](Diagnostic &diag) {
42
- diagnostic.reset(new Diagnostic(std::move(diag)));
+ diagnostic = std::make_unique<Diagnostic>(std::move(diag));
43
});
44
}
45
0 commit comments