Make the destructor of AudioCodingModule public.
This allows the type to be used with a scoped_ptr. Remove all calls to the deprecated Destroy() from tests. R=turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2200006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4731 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -76,7 +76,6 @@ class ACMVQMonCallback {
|
||||
class AudioCodingModule: public Module {
|
||||
protected:
|
||||
AudioCodingModule() {}
|
||||
virtual ~AudioCodingModule() {}
|
||||
|
||||
public:
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -88,7 +87,9 @@ class AudioCodingModule: public Module {
|
||||
//
|
||||
static AudioCodingModule* Create(const int32_t id);
|
||||
static AudioCodingModule* Create(const int32_t id, Clock* clock);
|
||||
virtual ~AudioCodingModule() {};
|
||||
|
||||
// TODO(ajm): Deprecated. Remove all calls to this unneeded method.
|
||||
static void Destroy(AudioCodingModule* module);
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user