Fix 2 typos in documentation of libstdc++.

PR libstdc++/93478
	* include/std/atomic: Fix typo.
	* include/std/optional: Likewise.
This commit is contained in:
Martin Liska 2020-01-28 10:25:30 +01:00
parent bff948aa33
commit 06d481d044
No known key found for this signature in database
GPG Key ID: 4DC182DC0FA73785
3 changed files with 8 additions and 2 deletions

View 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.

View 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

View 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&)