eitd/SIevents.cpp: change SIcomponents and SIparentalRatings from set to vector -

no need to sort them, this decrease SIevent size


Origin commit data
------------------
Branch: ni/coolstream
Commit: 01f50bba06
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-29 (Tue, 29 May 2012)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-05-29 16:32:07 +04:00
parent d8433c569f
commit 5146341778
3 changed files with 19 additions and 8 deletions

View File

@@ -224,7 +224,8 @@ class SIcomponent
}
};
typedef std::multiset <SIcomponent, std::less<SIcomponent> > SIcomponents;
//typedef std::multiset <SIcomponent, std::less<SIcomponent> > SIcomponents;
typedef std::vector <SIcomponent> SIcomponents;
// Fuer for_each
struct printSIcomponent : public std::unary_function<class SIcomponent, void>
@@ -272,7 +273,8 @@ class SIparentalRating
(countryCode != p.countryCode);
}
};
typedef std::set <SIparentalRating, std::less<SIparentalRating> > SIparentalRatings;
//typedef std::set <SIparentalRating, std::less<SIparentalRating> > SIparentalRatings;
typedef std::vector <SIparentalRating> SIparentalRatings;
// Fuer for_each
struct printSIparentalRating : public std::unary_function<SIparentalRating, void>