From: Michael Andres Date: Tue, 9 Sep 2008 11:09:55 +0000 (+0000) Subject: typos X-Git-Tag: BASE-SuSE-Code-11-Branch~447 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=573f9a0858b5d9eab15b8a72edc885ed99409de7;p=platform%2Fupstream%2Flibzypp.git typos --- diff --git a/zypp/ServiceInfo.cc b/zypp/ServiceInfo.cc index 17f7df5..ca66714 100644 --- a/zypp/ServiceInfo.cc +++ b/zypp/ServiceInfo.cc @@ -87,26 +87,26 @@ namespace zypp 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 diff --git a/zypp/ServiceInfo.h b/zypp/ServiceInfo.h index b65ca15..b60a32e 100644 --- a/zypp/ServiceInfo.h +++ b/zypp/ServiceInfo.h @@ -12,6 +12,7 @@ #ifndef ZYPP_SERVICE_H #define ZYPP_SERVICE_H +#include #include #include "zypp/Url.h" @@ -78,7 +79,7 @@ namespace zypp */ //@{ /** Container of catalogs. */ - typedef std:set CatalogsToEnable; + typedef std::set CatalogsToEnable; bool catalogsToEnableEmpty() const; CatalogsToEnable::size_type catalogsToEnableSize() const; CatalogsToEnable::const_iterator catalogsToEnableBegin() const;