Author: mlandres Date: Tue Sep 9 13:09:55 2008 New Revision: 10971 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10971&view=rev Log: typos Modified: trunk/libzypp/zypp/ServiceInfo.cc trunk/libzypp/zypp/ServiceInfo.h Modified: trunk/libzypp/zypp/ServiceInfo.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ServiceInfo.cc?rev=10971&r1=10970&r2=10971&view=diff ============================================================================== --- trunk/libzypp/zypp/ServiceInfo.cc (original) +++ trunk/libzypp/zypp/ServiceInfo.cc Tue Sep 9 13:09:55 2008 @@ -87,26 +87,26 @@ void ServiceInfo::setUrl( const Url& url ) { _pimpl->url = url; } - bool catalogsToEnableEmpty() const + bool ServiceInfo::catalogsToEnableEmpty() const { return _pimpl->catalogsToEnable.empty(); } - CatalogsToEnable::size_type catalogsToEnableSize() const + ServiceInfo::CatalogsToEnable::size_type ServiceInfo::catalogsToEnableSize() const { return _pimpl->catalogsToEnable.size(); } - CatalogsToEnable::const_iterator catalogsToEnableBegin() const + ServiceInfo::CatalogsToEnable::const_iterator ServiceInfo::catalogsToEnableBegin() const { return _pimpl->catalogsToEnable.begin(); } - CatalogsToEnable::const_iterator catalogsToEnableEnd() const + ServiceInfo::CatalogsToEnable::const_iterator ServiceInfo::catalogsToEnableEnd() const { return _pimpl->catalogsToEnable.end(); } - bool catalogToEnableFind( const std::string & alias_r ) const + bool ServiceInfo::catalogToEnableFind( const std::string & alias_r ) const { return( _pimpl->catalogsToEnable.find( alias_r ) != _pimpl->catalogsToEnable.end() ); } - void addCatalogToEnable( const std::string & alias_r ) - { return _pimpl->catalogsToEnable.insert( alias_r ); } + void ServiceInfo::addCatalogToEnable( const std::string & alias_r ) + { _pimpl->catalogsToEnable.insert( alias_r ); } - void delCatalogToEnable( const std::string & alias_r ) - { return _pimpl->catalogsToEnable.erase( alias_r ); } + void ServiceInfo::delCatalogToEnable( const std::string & alias_r ) + { _pimpl->catalogsToEnable.erase( alias_r ); } std::ostream & ServiceInfo::dumpAsIniOn( std::ostream & str ) const Modified: trunk/libzypp/zypp/ServiceInfo.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ServiceInfo.h?rev=10971&r1=10970&r2=10971&view=diff ============================================================================== --- trunk/libzypp/zypp/ServiceInfo.h (original) +++ trunk/libzypp/zypp/ServiceInfo.h Tue Sep 9 13:09:55 2008 @@ -12,6 +12,7 @@ #ifndef ZYPP_SERVICE_H #define ZYPP_SERVICE_H +#include <set> #include <string> #include "zypp/Url.h" @@ -78,7 +79,7 @@ */ //@{ /** Container of catalogs. */ - typedef std:setstd::string CatalogsToEnable; + typedef std::setstd::string CatalogsToEnable; bool catalogsToEnableEmpty() const; CatalogsToEnable::size_type catalogsToEnableSize() const; CatalogsToEnable::const_iterator catalogsToEnableBegin() const; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org