From 857a5f5d71e01c82655f562978cbf77c62b3d7e2 Mon Sep 17 00:00:00 2001 From: redi Date: Sun, 6 Jun 2010 21:46:38 +0000 Subject: [PATCH] 2010-06-06 Jonathan Wakely * include/ext/pointer.h (_Pointer_adapter::operator++): Remove name of unused parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160351 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/ext/pointer.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 44a1662e63e..ddc0a5a32f9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2010-06-06 Jonathan Wakely + * include/ext/pointer.h (_Pointer_adapter::operator++): Remove + name of unused parameter. + +2010-06-06 Jonathan Wakely + PR libstdc++/40296 * libsupc++/exception_ptr.h (exception_ptr::exception_ptr): Replace __safe_bool constructor with nullptr_t constructor in C++0x mode. diff --git a/libstdc++-v3/include/ext/pointer.h b/libstdc++-v3/include/ext/pointer.h index ddb5f3c84a8..8055df226f2 100644 --- a/libstdc++-v3/include/ext/pointer.h +++ b/libstdc++-v3/include/ext/pointer.h @@ -1,6 +1,6 @@ // Custom pointer adapter and sample storage policies -// Copyright (C) 2008, 2009 Free Software Foundation, Inc. +// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -447,7 +447,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) } inline _Pointer_adapter - operator++(int __unused) + operator++(int) { _Pointer_adapter tmp(*this); _Storage_policy::set(_Storage_policy::get() + 1); -- 2.11.0