diff options
Diffstat (limited to 'p2pvr/daemon/schedules.cpp')
-rw-r--r-- | p2pvr/daemon/schedules.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/p2pvr/daemon/schedules.cpp b/p2pvr/daemon/schedules.cpp index 5e3881d..40d7863 100644 --- a/p2pvr/daemon/schedules.cpp +++ b/p2pvr/daemon/schedules.cpp @@ -10,7 +10,7 @@ #include "containerIterator.h" #include "resources.h" #include <boost/date_time/posix_time/posix_time.hpp> -#include <instanceStore.impl.h> +#include <factory.impl.h> #include "sqlSelectDeserializer.h" #include <slicer/slicer.h> #include <p2pvr-int.h> @@ -246,7 +246,7 @@ Schedules::DoReschedule(const Ice::Current & ice) } Logger()->messagebf(LOG_DEBUG, "group complexity of %d options", total); - EpisodeGroupPtr sched = EpisodeGroupPtr(EpisodeGroupLoader::createNew(SchedulerAlgorithm, group)); + EpisodeGroupPtr sched = EpisodeGroupPtr(EpisodeGroupFactory::createNew(SchedulerAlgorithm, group)); sched->tuners = tunerCount; std::set<ShowingPtr> selected; for (const auto & s : sched->Solve()) { @@ -346,5 +346,5 @@ Schedules::UpdateSchedule(const P2PVR::SchedulePtr & s, const Ice::Current & ice return s->ScheduleId; } -INSTANTIATESTORE(std::string, EpisodeGroupLoader); +INSTANTIATEFACTORY(EpisodeGroup, const Episodes &); |