projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e917a1
)
Fix misguided error message in debug mode. No functional change. Fixes PR#34966
author
Marshall Clow
<mclow.lists@gmail.com>
Mon, 23 Oct 2017 16:46:44 +0000
(16:46 +0000)
committer
Marshall Clow
<mclow.lists@gmail.com>
Mon, 23 Oct 2017 16:46:44 +0000
(16:46 +0000)
llvm-svn: 316343
libcxx/include/list
patch
|
blob
|
history
diff --git
a/libcxx/include/list
b/libcxx/include/list
index 9561a5fd67f67c0aa775c814bedd040ec58bcd5b..857d8a7a08def8556516747d7036b02a8b0f2603 100644
(file)
--- a/
libcxx/include/list
+++ b/
libcxx/include/list
@@
-481,7
+481,7
@@
public:
{
#if _LIBCPP_DEBUG_LEVEL >= 2
_LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
- "Attempted to dereference a non-dereferenceable list::iterator");
+ "Attempted to dereference a non-dereferenceable list::
const_
iterator");
#endif
return pointer_traits<pointer>::pointer_to(__ptr_->__as_node()->__value_);
}