Index: options_description.cpp =================================================================== --- options_description.cpp (revision 38866) +++ options_description.cpp (working copy) @@ -254,7 +254,7 @@ return m_options; } - const option_description* + const option_description* options_description::find_nothrow(const std::string& name, bool approx) const { @@ -279,10 +279,10 @@ // // For now, we don't check the situation when there are // two full matches. - + if (r == option_description::full_match) { - return m_options[i].get(); + return m_options[i].get(); } found = m_options[i]; @@ -293,8 +293,8 @@ if (approximate_matches.size() > 1) boost::throw_exception( ambiguous_option(name, approximate_matches)); - else - return found.get(); + + return found.get(); } BOOST_PROGRAM_OPTIONS_DECL