Ticket #13429: boost_1_66_0-uninitialized.patch

File boost_1_66_0-uninitialized.patch, 2.4 KB (added by Peter Klotz <peter.klotz@…>, 5 years ago)

The patch to fix the typo

  • boost/optional/detail/old_optional_implementation.hpp

    diff -Nur boost_1_66_0/boost/optional/detail/old_optional_implementation.hpp boost_1_66_0.patched/boost/optional/detail/old_optional_implementation.hpp
    old new  
    147147    }
    148148#endif
    149149
    150     // Creates an optional<T> initialized with 'val' IFF cond is true, otherwise creates an uninitialzed optional<T>.
     150    // Creates an optional<T> initialized with 'val' IFF cond is true, otherwise creates an uninitialized optional<T>.
    151151    // Can throw if T::T(T const&) does
    152152    optional_base ( bool cond, argument_type val )
    153153      :
  • boost/optional/optional.hpp

    diff -Nur boost_1_66_0/boost/optional/optional.hpp boost_1_66_0.patched/boost/optional/optional.hpp
    old new  
    149149    }
    150150#endif
    151151
    152     // Creates an optional<T> initialized with 'val' IFF cond is true, otherwise creates an uninitialzed optional<T>.
     152    // Creates an optional<T> initialized with 'val' IFF cond is true, otherwise creates an uninitialized optional<T>.
    153153    // Can throw if T::T(T const&) does
    154154    optional_base ( bool cond, argument_type val )
    155155      :
     
    160160    }
    161161
    162162#ifndef  BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
    163     // Creates an optional<T> initialized with 'move(val)' IFF cond is true, otherwise creates an uninitialzed optional<T>.
     163    // Creates an optional<T> initialized with 'move(val)' IFF cond is true, otherwise creates an uninitialized optional<T>.
    164164    // Can throw if T::T(T &&) does
    165165    optional_base ( bool cond, rval_reference_type val )
    166166      :
  • boost/regex/v4/match_results.hpp

    diff -Nur boost_1_66_0/boost/regex/v4/match_results.hpp boost_1_66_0.patched/boost/regex/v4/match_results.hpp
    old new  
    563563   //
    564564   static void raise_logic_error()
    565565   {
    566       std::logic_error e("Attempt to access an uninitialzed boost::match_results<> class.");
     566      std::logic_error e("Attempt to access an uninitialized boost::match_results<> class.");
    567567      boost::throw_exception(e);
    568568   }
    569569