Commit 3d94be46 authored by ussrhero's avatar ussrhero

hotfix

parent 6241a35d
......@@ -820,9 +820,9 @@ TypeInfoProviderClang::TypeInfoProviderClang( const std::string& sourceCode, con
#ifndef _DEBUG
auto diagnosticConsumer = new clang::IgnoringDiagConsumer();
IgnoringDiagConsumer diagnosticConsumer;
toolInvocation.setDiagnosticConsumer(diagnosticConsumer);
toolInvocation.setDiagnosticConsumer(&diagnosticConsumer);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment