summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2017-10-23 16:46:44 +0000
committerMarshall Clow <mclow.lists@gmail.com>2017-10-23 16:46:44 +0000
commited9010a2ae93b7dda5f8b06e79c03890fa852e73 (patch)
tree4e1e83b51d3d8fcc7f8b8deec1713f758073a0f5
parent9e917a13fb2a3a0f7c54bd443971cac4f6cc9638 (diff)
downloadbcm5719-llvm-ed9010a2ae93b7dda5f8b06e79c03890fa852e73.tar.gz
bcm5719-llvm-ed9010a2ae93b7dda5f8b06e79c03890fa852e73.zip
Fix misguided error message in debug mode. No functional change. Fixes PR#34966
llvm-svn: 316343
-rw-r--r--libcxx/include/list2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/list b/libcxx/include/list
index 9561a5fd67f..857d8a7a08d 100644
--- 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_);
}
OpenPOWER on IntegriCloud