Author: dmacvicar Date: Mon May 7 23:55:17 2007 New Revision: 5514 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5514&view=rev Log: compile Modified: trunk/libzypp/zypp/base/String.cc trunk/libzypp/zypp/base/String.h Modified: trunk/libzypp/zypp/base/String.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/base/String.cc?rev=5514&r1=5513&r2=5514&view=diff ============================================================================== --- trunk/libzypp/zypp/base/String.cc (original) +++ trunk/libzypp/zypp/base/String.cc Mon May 7 23:55:17 2007 @@ -188,8 +188,15 @@ return _getline(str, trim?TRIM:NO_TRIM); } - - + std::ostream & dumpRegexpResult( const boost::smatch &what, std::ostream & str ) + { + for ( unsigned int k=0; k < what.size(); k++) + { + str << "[match "<< k << "] [" << what[k] << "]" << std::endl; + } + + return str; + } ///////////////////////////////////////////////////////////////// } // namespace str /////////////////////////////////////////////////////////////////// Modified: trunk/libzypp/zypp/base/String.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/base/String.h?rev=5514&r1=5513&r2=5514&view=diff ============================================================================== --- trunk/libzypp/zypp/base/String.h (original) +++ trunk/libzypp/zypp/base/String.h Mon May 7 23:55:17 2007 @@ -93,15 +93,7 @@ /** * helper to debug regular expressions matches */ - std::ostream & dumpRegexpResult( const boost::smatch &what, std::ostream & str ) - { - for ( unsigned int k=0; k < what.size(); k++) - { - str << "[match "<< k << "] [" << what[k] << "]" << std::endl; - } - - return str; - } + std::ostream & dumpRegexpResult( const boost::smatch &what, std::ostream & str ); /////////////////////////////////////////////////////////////////// /** \name String representation of number. -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org