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; ...@@ -33,13 +33,11 @@ using namespace dash::http;
using namespace dash::mpd; using namespace dash::mpd;
using namespace dash::exception; using namespace dash::exception;
RateBasedAdaptationLogic::RateBasedAdaptationLogic (IMPDManager *mpdManager) : AbstractAdaptationLogic(mpdManager) RateBasedAdaptationLogic::RateBasedAdaptationLogic (IMPDManager *mpdManager) :
{ AbstractAdaptationLogic( mpdManager ),
this->mpdManager = mpdManager; mpdManager( mpdManager ),
this->currentPeriod = this->mpdManager->getFirstPeriod(); count( 0 ),
this->count = 0; currentPeriod( mpdManager->getFirstPeriod() )
}
RateBasedAdaptationLogic::~RateBasedAdaptationLogic ()
{ {
} }
......
...@@ -40,7 +40,6 @@ namespace dash ...@@ -40,7 +40,6 @@ namespace dash
{ {
public: public:
RateBasedAdaptationLogic (dash::mpd::IMPDManager *mpdManager); RateBasedAdaptationLogic (dash::mpd::IMPDManager *mpdManager);
virtual ~RateBasedAdaptationLogic ();
dash::http::Chunk* getNextChunk () throw(dash::exception::EOFException); 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