X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=zypp%2FServiceInfo.cc;h=3ebabc7dc7f52779fb874c80a3c6a8ea8f6fa997;hb=HEAD;hp=2f7c0731df3aca867a3221e40a0f4072c15f14b4;hpb=1eb38d54d17f7c26b24e2b726fc06fa9382687f9;p=platform%2Fupstream%2Flibzypp.git diff --git a/zypp/ServiceInfo.cc b/zypp/ServiceInfo.cc index 2f7c073..04bfcb2 100644 --- a/zypp/ServiceInfo.cc +++ b/zypp/ServiceInfo.cc @@ -12,14 +12,14 @@ #include #include -#include "zypp/base/String.h" -#include "zypp/base/DefaultIntegral.h" -#include "zypp/parser/xml/XmlEscape.h" +#include +#include +#include -#include "zypp/RepoInfo.h" -#include "zypp/ServiceInfo.h" +#include +#include -using namespace std; +using std::endl; using zypp::xml::escape; /////////////////////////////////////////////////////////////////////////////// @@ -85,11 +85,11 @@ namespace zypp ServiceInfo::ServiceInfo() : _pimpl( new Impl() ) {} - ServiceInfo::ServiceInfo(const string & alias) + ServiceInfo::ServiceInfo(const std::string & alias) : repo::RepoInfoBase(alias), _pimpl( new Impl() ) {} - ServiceInfo::ServiceInfo(const string & alias, const Url & url) + ServiceInfo::ServiceInfo(const std::string & alias, const Url & url) : repo::RepoInfoBase(alias), _pimpl( new Impl(url) ) {} @@ -207,7 +207,7 @@ namespace zypp return str; } - ostream & ServiceInfo::dumpAsXmlOn( ostream & str, const string & content ) const + std::ostream & ServiceInfo::dumpAsXmlOn( std::ostream & str, const std::string & content ) const { str << "" << endl;