Fix 2 typos in documentation of libstdc++.
authorMartin Liska <mliska@suse.cz>
Tue, 28 Jan 2020 09:25:30 +0000 (10:25 +0100)
committerMartin Liska <mliska@suse.cz>
Tue, 28 Jan 2020 09:25:30 +0000 (10:25 +0100)
PR libstdc++/93478
* include/std/atomic: Fix typo.
* include/std/optional: Likewise.

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/atomic
libstdc++-v3/include/std/optional

index e49950caf1ed0b8373c8184aa4c165222d8f869e..03061e6633336d2a66a169dd7fa0562ccfcf0d55 100644 (file)
@@ -1,3 +1,9 @@
+2020-01-28  Martin Liska  <mliska@suse.cz>
+
+       PR libstdc++/93478
+       * include/std/atomic: Fix typo.
+       * include/std/optional: Likewise.
+
 2020-01-27  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * configure: Regenerate.
index 66c62381e6b07701edee34928e49d104fbae9daf..40f23bdfc962887423475a9c79f30343475affa6 100644 (file)
@@ -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<typename _Tp>
     struct atomic
index 09e7a7efca7c2378af079350642ad807fcf0e6a2..b920a1453bad5ed6016e87fd1e3431c1ebd1aa65 100644 (file)
@@ -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&)