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 148765e commit 9cb653aCopy full SHA for 9cb653a
source/loader/layers/sanitizer/asan/asan_interceptor.cpp
@@ -867,7 +867,7 @@ AsanInterceptor::findAllocInfoByAddress(uptr Address) {
867
std::shared_lock<ur_shared_mutex> Guard(m_AllocationMapMutex);
868
auto It = m_AllocationMap.upper_bound(Address);
869
if (It == m_AllocationMap.begin()) {
870
- return std::optional<AllocationIterator>{};
+ return std::nullopt;
871
}
872
--It;
873
0 commit comments