From a5aaf4d8d0f2f7ab5a65fcb0af730460e55bffe7 Mon Sep 17 00:00:00 2001 From: Peter Klotz Date: Sun, 11 Feb 2018 21:03:54 +0100 Subject: [PATCH] Fixed recurring typo --- include/boost/optional/detail/old_optional_implementation.hpp | 2 +- include/boost/optional/optional.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/optional/detail/old_optional_implementation.hpp b/include/boost/optional/detail/old_optional_implementation.hpp index 4e888ed..16dee20 100644 --- a/include/boost/optional/detail/old_optional_implementation.hpp +++ b/include/boost/optional/detail/old_optional_implementation.hpp @@ -147,7 +147,7 @@ class optional_base : public optional_tag } #endif - // Creates an optional initialized with 'val' IFF cond is true, otherwise creates an uninitialzed optional. + // Creates an optional initialized with 'val' IFF cond is true, otherwise creates an uninitialized optional. // Can throw if T::T(T const&) does optional_base ( bool cond, argument_type val ) : diff --git a/include/boost/optional/optional.hpp b/include/boost/optional/optional.hpp index 715adb9..ecf686e 100644 --- a/include/boost/optional/optional.hpp +++ b/include/boost/optional/optional.hpp @@ -149,7 +149,7 @@ class optional_base : public optional_tag } #endif - // Creates an optional initialized with 'val' IFF cond is true, otherwise creates an uninitialzed optional. + // Creates an optional initialized with 'val' IFF cond is true, otherwise creates an uninitialized optional. // Can throw if T::T(T const&) does optional_base ( bool cond, argument_type val ) : @@ -160,7 +160,7 @@ class optional_base : public optional_tag } #ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES - // Creates an optional initialized with 'move(val)' IFF cond is true, otherwise creates an uninitialzed optional. + // Creates an optional initialized with 'move(val)' IFF cond is true, otherwise creates an uninitialized optional. // Can throw if T::T(T &&) does optional_base ( bool cond, rval_reference_type val ) :