Pārlūkot izejas kodu

Fix misguided error message in debug mode. No functional change. Fixes PR#34966

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@316343 91177308-0d34-0410-b5e6-96231b3b80d8
Marshall Clow 7 gadi atpakaļ
vecāks
revīzija
b91e69c546
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/list

+ 1 - 1
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_);
     }