[gcc(refs/users/marxin/heads/pgo-reproducibility-test)] Fix 2 typos in documentation of libstdc++.
Martin Liska
marxin@gcc.gnu.org
Thu Jan 30 08:50:00 GMT 2020
https://gcc.gnu.org/g:06d481d044ca7126f9d298ad9a4074fafde47ee8
commit 06d481d044ca7126f9d298ad9a4074fafde47ee8
Author: Martin Liska <mliska@suse.cz>
Date: Tue Jan 28 10:25:30 2020 +0100
Fix 2 typos in documentation of libstdc++.
PR libstdc++/93478
* include/std/atomic: Fix typo.
* include/std/optional: Likewise.
Diff:
---
libstdc++-v3/ChangeLog | 6 ++++++
libstdc++-v3/include/std/atomic | 2 +-
libstdc++-v3/include/std/optional | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e49950c..03061e6 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/include/std/atomic b/libstdc++-v3/include/std/atomic
index 66c6238..40f23bd 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<typename _Tp>
struct atomic
diff --git a/libstdc++-v3/include/std/optional b/libstdc++-v3/include/std/optional
index 09e7a7e..b920a14 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&)
More information about the Libstdc++-cvs
mailing list