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.
1 parent dc7076b commit 079db4fCopy full SHA for 079db4f
src/rustllvm/ArchiveWrapper.cpp
@@ -94,7 +94,7 @@ LLVMRustArchiveIteratorNext(RustArchiveIterator *rai) {
94
if (rai->cur == rai->end)
95
return NULL;
96
#if LLVM_VERSION_MINOR == 8
97
- Archive::Child* cur = rai->cur.operator->();
+ const ErrorOr<Archive::Child>* cur = rai->cur.operator->();
98
if (!*cur) {
99
LLVMRustSetLastError(cur->getError().message().c_str());
100
0 commit comments