Author: mlandres Date: Wed Nov 19 14:44:20 2008 New Revision: 11716 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11716&view=rev Log: docs Modified: trunk/libzypp/zypp/Glob.h Modified: trunk/libzypp/zypp/Glob.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Glob.h?rev=11716&r1=11715&r2=11716&view=diff ============================================================================== --- trunk/libzypp/zypp/Glob.h (original) +++ trunk/libzypp/zypp/Glob.h Wed Nov 19 14:44:20 2008 @@ -42,7 +42,10 @@ /** Find pathnames matching a pattern. * \code * Glob glob( Glob::_BRACE ); - * glob.add( "/somewherre/solverTestcase/ *{.xml,.xml.gz}" ); + * glob.add( "/somewhere/solverTestcase/ *{.xml,.xml.gz}" ); + * glob.add( "/somewhere/else/a*" ); + * for_( it, glob.begin(), glob.end() ) + * ... * \endcode * \code * std::list<Pathname> plist; @@ -218,7 +221,7 @@ { return collect( pattern_r.c_str(), Flags(), result_r ); } /** \overload */ template<class _OutputIterator> - static int collect( const char * & pattern_r, _OutputIterator result_r ) + static int collect( const char * pattern_r, _OutputIterator result_r ) { return collect( pattern_r, Flags(), result_r ); } /** \overload With \ref Flags */ -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org