summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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