mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-16 05:01:56 +00:00
Avoid potential ADL ambiguity between llvm::make_unique and std::make_unique (when building as C++14+)
Patch by Moritz Kiefer! llvm-svn: 298266
This commit is contained in:
parent
1e124e1825
commit
820a833125
@ -291,7 +291,7 @@ struct AnalysisPassModel : AnalysisPassConcept<IRUnitT, PreservedAnalysesT,
|
||||
AnalysisResultConcept<IRUnitT, PreservedAnalysesT, InvalidatorT>>
|
||||
run(IRUnitT &IR, AnalysisManager<IRUnitT, ExtraArgTs...> &AM,
|
||||
ExtraArgTs... ExtraArgs) override {
|
||||
return make_unique<ResultModelT>(Pass.run(IR, AM, ExtraArgs...));
|
||||
return llvm::make_unique<ResultModelT>(Pass.run(IR, AM, ExtraArgs...));
|
||||
}
|
||||
|
||||
/// \brief The model delegates to a static \c PassT::name method.
|
||||
|
Loading…
x
Reference in New Issue
Block a user