src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp in passenger-6.0.19 vs src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp in passenger-6.0.20
- old
+ new
@@ -390,11 +390,11 @@
// Destroys the current value, if any, leaving this UNINITIALIZED
// No-throw (assuming T::~T() doesn't)
void reset() BOOST_NOEXCEPT { destroy(); }
- // **DEPPRECATED** Replaces the current value -if any- with 'val'
+ // **DEPRECATED** Replaces the current value -if any- with 'val'
void reset ( argument_type val ) { assign(val); }
// Returns a pointer to the value if this is initialized, otherwise,
// returns NULL.
// No-throw
@@ -720,10 +720,10 @@
// This compiler incorrectly resolves the overload set and sinks optional<T> and optional<U>
// to the 'Expr'-taking functions even though explicit overloads are present for them.
// Thus, the following overload is needed to properly handle the case when the 'lhs'
// is another optional.
//
- // For VC<=70 compilers this workaround dosen't work becasue the comnpiler issues and error
+ // For VC<=70 compilers this workaround doesn't work because the compiler issues and error
// instead of choosing the wrong overload
//
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
// Notice that 'Expr' will be optional<T> or optional<U> (but not optional_base<..>)
template<class Expr>