printers.py (StdDebugIteratorPrinter.to_string): Adapt to latest modifications on...
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 1 Oct 2014 19:24:23 +0000 (19:24 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 1 Oct 2014 19:24:23 +0000 (19:24 +0000)
2014-10-01  François Dumont  <fdumont@gcc.gnu.org>

* python/libstdcxx/v6/printers.py (StdDebugIteratorPrinter.to_string):
Adapt to latest modifications on debug iterators.

From-SVN: r215775

libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py

index 02ffb3e93c9cf8f3329ba440e2f345822787a9d3..54f00ac343f7d7bfb9da2112a1ca494573b5ed36 100644 (file)
@@ -1,7 +1,12 @@
+2014-10-01  François Dumont  <fdumont@gcc.gnu.org>
+
+       * python/libstdcxx/v6/printers.py (StdDebugIteratorPrinter.to_string):
+       Adapt to latest modifications on debug iterators.
+
 2014-10-01  Edward Smith-Rowland  <3dw4rd@verizon.net>
 
        * include/std/type_traits: Add is_final<> type trait for C++14.
-       * testsuite/util/testsuite_tr1.h: Add 
+       * testsuite/util/testsuite_tr1.h: Add
        * testsuite/20_util/is_final/requirements/
        explicit_instantiation.cc: New.
        * testsuite/20_util/is_final/requirements/typedefs.cc: New.
index 2e5cd6ca0a8658700ea718e7f50de3ec9537d3c9..48ecb678cf3bf7da9481c8a0d78224a41f52d6c0 100644 (file)
@@ -460,7 +460,7 @@ class StdDebugIteratorPrinter:
     # and return the wrapped iterator value.
     def to_string (self):
         itype = self.val.type.template_argument(0)
-        return self.val['_M_current'].cast(itype)
+        return self.val.cast(itype)
 
 class StdMapPrinter:
     "Print a std::map or std::multimap"