Author: dmacvicar Date: Mon Jun 11 11:28:44 2007 New Revision: 5707 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5707&view=rev Log: - get rid of internal forced instanciation, not needed. - use std::inserter, that works with std::set instead of back_inserter Modified: trunk/libzypp/zypp/cache/ResolvableQuery.cc Modified: trunk/libzypp/zypp/cache/ResolvableQuery.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/cache/ResolvableQuery.cc?rev=5707&r1=5706&r2=5707&view=diff ============================================================================== --- trunk/libzypp/zypp/cache/ResolvableQuery.cc (original) +++ trunk/libzypp/zypp/cache/ResolvableQuery.cc Mon Jun 11 11:28:44 2007 @@ -1,3 +1,5 @@ +#include <iterator> +#include <algorithm> #include "zypp/cache/CacheTypes.h" #include "zypp/cache/ResolvableQuery.h" @@ -122,7 +124,7 @@ _Container words; // - //str::split( all, std::inserter(words) ); + str::split( all, std::inserter(words, words.begin()) ); return words; } @@ -209,16 +211,6 @@ } }; -template -list<string> ResolvableQuery::Impl::queryStringContainerAttribute( const data::RecordId &record_id, - const std::string &klass, - const std::string &name ); - -template -set<string> ResolvableQuery::Impl::queryStringContainerAttribute( const data::RecordId &record_id, - const std::string &klass, - const std::string &name ); - ////////////////////////////////////////////////////////////////////////////// // FORWARD TO IMPLEMENTATION ////////////////////////////////////////////////////////////////////////////// -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org