From owner-svn-src-projects@freebsd.org Mon Jan 23 22:10:58 2017 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1A04CBE220 for ; Mon, 23 Jan 2017 22:10:58 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B38124F; Mon, 23 Jan 2017 22:10:58 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0NMAvf9048173; Mon, 23 Jan 2017 22:10:57 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0NMAvPl048172; Mon, 23 Jan 2017 22:10:57 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201701232210.v0NMAvPl048172@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Mon, 23 Jan 2017 22:10:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r312673 - projects/clang400-import/contrib/libc++/include X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2017 22:10:58 -0000 Author: dim Date: Mon Jan 23 22:10:57 2017 New Revision: 312673 URL: https://svnweb.freebsd.org/changeset/base/312673 Log: Pull in r292830 from upstream libc++ trunk (by Eric Fiselier): Fix GCC C++03 build by hiding default template argument in C++03 This allows the graphics/GraphicsMagic to compile with gcc 4.9 and libc++. PR: 216404 Modified: projects/clang400-import/contrib/libc++/include/string Modified: projects/clang400-import/contrib/libc++/include/string ============================================================================== --- projects/clang400-import/contrib/libc++/include/string Mon Jan 23 21:09:27 2017 (r312672) +++ projects/clang400-import/contrib/libc++/include/string Mon Jan 23 22:10:57 2017 (r312673) @@ -818,7 +818,10 @@ public: operator __self_view() const _NOEXCEPT { return __self_view(data(), size()); } basic_string& operator=(const basic_string& __str); + +#ifndef _LIBCPP_CXX03_LANG template +#endif _LIBCPP_INLINE_VISIBILITY basic_string& operator=(__self_view __sv) {return assign(__sv);} #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES