Fix 2 typos in documentation of libstdc++.

	PR libstdc++/93478
	* include/std/atomic: Fix typo.
	* include/std/optional: Likewise.
parent bff948aa
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> 2020-01-27 Andrew Burgess <andrew.burgess@embecosm.com>
* configure: Regenerate. * configure: Regenerate.
......
...@@ -174,7 +174,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -174,7 +174,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
/** /**
* @brief Generic atomic type, primary class template. * @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> template<typename _Tp>
struct atomic struct atomic
......
...@@ -453,7 +453,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -453,7 +453,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
* Such a separate base class template is necessary in order to * Such a separate base class template is necessary in order to
* conditionally make copy/move constructors trivial. * 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 * the copy/move constructors of _Optional_base will invoke the
* trivial copy/move constructor of _Optional_payload. Otherwise, * trivial copy/move constructor of _Optional_payload. Otherwise,
* they will invoke _Optional_payload(bool, const _Optional_payload&) * they will invoke _Optional_payload(bool, const _Optional_payload&)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment