Commit 4a762212 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

dash: RateBasedAdaptationLogic: cosmetics.

Removing useless destructor & using initialization list.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b12d4270
......@@ -33,13 +33,11 @@ using namespace dash::http;
using namespace dash::mpd;
using namespace dash::exception;
RateBasedAdaptationLogic::RateBasedAdaptationLogic (IMPDManager *mpdManager) : AbstractAdaptationLogic(mpdManager)
{
this->mpdManager = mpdManager;
this->currentPeriod = this->mpdManager->getFirstPeriod();
this->count = 0;
}
RateBasedAdaptationLogic::~RateBasedAdaptationLogic ()
RateBasedAdaptationLogic::RateBasedAdaptationLogic (IMPDManager *mpdManager) :
AbstractAdaptationLogic( mpdManager ),
mpdManager( mpdManager ),
count( 0 ),
currentPeriod( mpdManager->getFirstPeriod() )
{
}
......
......@@ -40,7 +40,6 @@ namespace dash
{
public:
RateBasedAdaptationLogic (dash::mpd::IMPDManager *mpdManager);
virtual ~RateBasedAdaptationLogic ();
dash::http::Chunk* getNextChunk () throw(dash::exception::EOFException);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment