mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
[dsymutil] Fix std::unique_ptr to llvm::Expected conversion
Fixes error: could not convert from 'std::unique_ptr<llvm::dsymutil::Reproducer>' to 'llvm::Expected<std::unique_ptr<llvm::dsymutil::Reproducer>>'
This commit is contained in:
parent
33b6891db2
commit
98fe869373
@ -97,5 +97,5 @@ Reproducer::createReproducer(ReproducerMode Mode, StringRef Root, int Argc,
|
||||
}
|
||||
if (EC)
|
||||
return errorCodeToError(EC);
|
||||
return Repro;
|
||||
return {std::move(Repro)};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user