mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user