From 9cbee430da220344bd4d78067299e48270cf716f Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Fri, 2 Sep 2011 20:42:31 +0000 Subject: =?UTF-8?q?Fix=20const=20correctness=20bug=20in=20=5F=5Fmove=5Fass?= =?UTF-8?q?ign.=20=20Found=20and=20fixed=20by=20Ion=20Gaztan=CC=83aga.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@139032 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/list | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/list') diff --git a/include/list b/include/list index fa515e0bb..900e2ec98 100644 --- a/include/list +++ b/include/list @@ -444,14 +444,14 @@ private: {} _LIBCPP_INLINE_VISIBILITY - void __move_assign_alloc(const __list_imp& __c, true_type) + void __move_assign_alloc(__list_imp& __c, true_type) _NOEXCEPT_(is_nothrow_move_assignable<__node_allocator>::value) { __node_alloc() = _VSTD::move(__c.__node_alloc()); } _LIBCPP_INLINE_VISIBILITY - void __move_assign_alloc(const __list_imp& __c, false_type) + void __move_assign_alloc(__list_imp& __c, false_type) _NOEXCEPT {} }; -- cgit v1.2.3