mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
Remove decltype in an attempt to fix the MSVC build.
C++ is hard, attempt #1 of n. llvm-svn: 227768
This commit is contained in:
parent
83d695419c
commit
95514e0422
@ -735,12 +735,12 @@ public:
|
||||
}
|
||||
|
||||
class iterator
|
||||
: public llvm::iterator_adaptor_base<iterator, decltype(Decls)::iterator,
|
||||
std::forward_iterator_tag,
|
||||
NamedDecl *> {
|
||||
: public llvm::iterator_adaptor_base<
|
||||
iterator, llvm::DenseMap<NamedDecl *, NamedDecl *>::iterator,
|
||||
std::forward_iterator_tag, NamedDecl *> {
|
||||
friend class ADLResult;
|
||||
|
||||
iterator(decltype(Decls)::iterator Iter)
|
||||
iterator(llvm::DenseMap<NamedDecl *, NamedDecl *>::iterator Iter)
|
||||
: iterator_adaptor_base(std::move(Iter)) {}
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user