From ce9d176535bd4948cd63bfa3982314754a422edd Mon Sep 17 00:00:00 2001 From: Valentin Valls Date: Fri, 20 Apr 2018 15:55:27 +0200 Subject: Add const_at to unordered map --- Cython/Includes/libcpp/unordered_map.pxd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Cython/Includes/libcpp') diff --git a/Cython/Includes/libcpp/unordered_map.pxd b/Cython/Includes/libcpp/unordered_map.pxd index a63d32e8a..329c1cefd 100644 --- a/Cython/Includes/libcpp/unordered_map.pxd +++ b/Cython/Includes/libcpp/unordered_map.pxd @@ -32,7 +32,8 @@ cdef extern from "" namespace "std" nogil: bint operator>(unordered_map&, unordered_map&) bint operator<=(unordered_map&, unordered_map&) bint operator>=(unordered_map&, unordered_map&) - U& at(T&) + U& at(const T&) + const U& const_at "at"(const T&) iterator begin() const_iterator const_begin "begin"() void clear() -- cgit v1.2.1