aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcxx/src/debug.cpp')
-rw-r--r--lib/libcxx/src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcxx/src/debug.cpp b/lib/libcxx/src/debug.cpp
index 20055fcf75..dd5963fcce 100644
--- a/lib/libcxx/src/debug.cpp
+++ b/lib/libcxx/src/debug.cpp
@@ -438,7 +438,7 @@ __libcpp_db::__less_than_comparable(const void* __i, const void* __j) const
__i_node* j = __find_iterator(__j);
__c_node* ci = i != nullptr ? i->__c_ : nullptr;
__c_node* cj = j != nullptr ? j->__c_ : nullptr;
- return ci != nullptr && ci == cj;
+ return ci == cj;
}
void