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:
@ -52,14 +52,6 @@ namespace webrtc {
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
#define DESTROY_ACM(acm) \
|
||||
do { \
|
||||
if (acm != NULL) { \
|
||||
AudioCodingModule::Destroy(acm); \
|
||||
acm = NULL; \
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
#define DELETE_POINTER(p) \
|
||||
do { \
|
||||
if (p != NULL) { \
|
||||
|
||||
Reference in New Issue
Block a user