From e9adf4f7ea1e3839ffc7824c7f2d3180e5fc9e99 Mon Sep 17 00:00:00 2001 From: fdumont Date: Wed, 1 Oct 2014 19:24:23 +0000 Subject: =?UTF-8?q?2014-10-01=20=20Fran=C3=A7ois=20Dumont=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * python/libstdcxx/v6/printers.py (StdDebugIteratorPrinter.to_string): Adapt to latest modifications on debug iterators. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215775 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/python/libstdcxx/v6/printers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libstdc++-v3/python') diff --git a/libstdc++-v3/python/libstdcxx/v6/printers.py b/libstdc++-v3/python/libstdcxx/v6/printers.py index 2e5cd6ca0a8..48ecb678cf3 100644 --- a/libstdc++-v3/python/libstdcxx/v6/printers.py +++ b/libstdc++-v3/python/libstdcxx/v6/printers.py @@ -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" -- cgit v1.2.1