From 5903b7be71b9a3df853b009199c984b07913a8fd Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Mon, 11 Jun 2007 09:28:44 +0000 Subject: [PATCH] - get rid of internal forced instanciation, not needed. - use std::inserter, that works with std::set instead of back_inserter --- zypp/cache/ResolvableQuery.cc | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/zypp/cache/ResolvableQuery.cc b/zypp/cache/ResolvableQuery.cc index 0483f40..ba06950 100644 --- a/zypp/cache/ResolvableQuery.cc +++ b/zypp/cache/ResolvableQuery.cc @@ -1,3 +1,5 @@ +#include +#include #include "zypp/cache/CacheTypes.h" #include "zypp/cache/ResolvableQuery.h" @@ -122,7 +124,7 @@ struct ResolvableQuery::Impl _Container words; // - //str::split( all, std::inserter(words) ); + str::split( all, std::inserter(words, words.begin()) ); return words; } @@ -209,16 +211,6 @@ private: } }; -template -list ResolvableQuery::Impl::queryStringContainerAttribute( const data::RecordId &record_id, - const std::string &klass, - const std::string &name ); - -template -set ResolvableQuery::Impl::queryStringContainerAttribute( const data::RecordId &record_id, - const std::string &klass, - const std::string &name ); - ////////////////////////////////////////////////////////////////////////////// // FORWARD TO IMPLEMENTATION ////////////////////////////////////////////////////////////////////////////// -- 2.7.4