Changed muxer listener to use "default"

Changed muxer listener to use "default" instead of {}
when defining its constructor and destructor in its
header file.

Change-Id: I3c80e808aa624293c3d7720ac6a47b470a663312
This commit is contained in:
Aaron Vaage 2018-01-08 09:49:40 -08:00
parent 37b5f401d1
commit 4ecb567daf
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class MuxerListener {
std::vector<Range> subsegment_ranges; std::vector<Range> subsegment_ranges;
}; };
virtual ~MuxerListener() {}; virtual ~MuxerListener() = default;
/// Called when the media's encryption information is ready. /// Called when the media's encryption information is ready.
/// OnEncryptionInfoReady with @a initial_encryption_info being true should be /// OnEncryptionInfoReady with @a initial_encryption_info being true should be
@ -134,7 +134,7 @@ class MuxerListener {
virtual void OnCueEvent(uint64_t timestamp, const std::string& cue_data) = 0; virtual void OnCueEvent(uint64_t timestamp, const std::string& cue_data) = 0;
protected: protected:
MuxerListener() {}; MuxerListener() = default;
}; };
} // namespace media } // namespace media