From patchwork Tue Jan 28 09:24:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 1230243 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-518375-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=sGpNli3U; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 486LnK5jZ6z9sNx for ; Tue, 28 Jan 2020 20:25:24 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:message-id:date:mime-version:content-type; q=dns; s= default; b=cxoFlca6RF9VlHAVrzu7Py7DZoGOIRf9G1A35MSryPY9XNSBxiSqu FiW7uevXPxp9U04nOmIlsicZ0BgWTA/w2Kyw+YZr/Unmc3Aczua+1bLIISFWkcle luaCH7ZvgFRdth3M7DXw5F75hS9+I4mQ0exvBU0ZCpyOi05h3AHAwo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:message-id:date:mime-version:content-type; s= default; bh=wGtsJHtj8kXeZpb9xDH6nDbmDb8=; b=sGpNli3UKR41irac0dmd tubXPvOAppna1MMshw2t172DCCPN/97/uG+4kxbxqLuxT/fy28ylBRBFd9bUBEx6 NnIrRHFuiZnVW4p5ZRTwR2KkOIrXOPOdH/E6iGyB4wZx/kcPZ2mO6hGZK5FEQuip QK/n/k1ezTad066sAFrIVgY= Received: (qmail 54378 invoked by alias); 28 Jan 2020 09:25:15 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 54369 invoked by uid 89); 28 Jan 2020 09:25:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Jan 2020 09:24:57 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D02F9AE44 for ; Tue, 28 Jan 2020 09:24:54 +0000 (UTC) From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] Fix 2 typos in documentation of libstdc++. To: gcc-patches@gcc.gnu.org Message-ID: Date: Tue, 28 Jan 2020 10:24:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 X-IsSubscribed: yes Hi. It's a simple documentation fix. I'm going to install the patch. Martin libstdc++-v3/ChangeLog: 2020-01-28 Martin Liska PR libstdc++/93478 * include/std/atomic: Fix typo. * include/std/optional: Likewise. --- libstdc++-v3/include/std/atomic | 2 +- libstdc++-v3/include/std/optional | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/include/std/atomic b/libstdc++-v3/include/std/atomic index 66c62381e6b..40f23bdfc96 100644 --- a/libstdc++-v3/include/std/atomic +++ b/libstdc++-v3/include/std/atomic @@ -174,7 +174,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /** * @brief Generic atomic type, primary class template. * - * @tparam _Tp Type to be made atomic, must be trivally copyable. + * @tparam _Tp Type to be made atomic, must be trivially copyable. */ template struct atomic diff --git a/libstdc++-v3/include/std/optional b/libstdc++-v3/include/std/optional index 09e7a7efca7..b920a1453ba 100644 --- a/libstdc++-v3/include/std/optional +++ b/libstdc++-v3/include/std/optional @@ -453,7 +453,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * Such a separate base class template is necessary in order to * conditionally make copy/move constructors trivial. * - * When the contained value is trivally copy/move constructible, + * When the contained value is trivially copy/move constructible, * the copy/move constructors of _Optional_base will invoke the * trivial copy/move constructor of _Optional_payload. Otherwise, * they will invoke _Optional_payload(bool, const _Optional_payload&)