aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_processing/processing_component.h
diff options
context:
space:
mode:
authorbjornv@webrtc.org <bjornv@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-22 06:52:28 +0000
committerbjornv@webrtc.org <bjornv@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-22 06:52:28 +0000
commit5964fe0f86a4f33831d1f4994dbde1b42c93bd81 (patch)
tree882f94380dce49cd3ff48b8797b00b11a7ad3a31 /webrtc/modules/audio_processing/processing_component.h
parent2a796720f8b2b4e6fbcbf58e687781e412e4dc38 (diff)
downloadwebrtc-5964fe0f86a4f33831d1f4994dbde1b42c93bd81.tar.gz
audio_processing: DestroyHandle() now returns void
The return value was not used anyhow and there is no proper action to be taken if we would have received an error. Hence, in line with issue441 we should return void upon free. BUG=441 TESTED=trybots,modules_unittest R=andrew@webrtc.org, aluebs@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12269004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5949 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/modules/audio_processing/processing_component.h')
-rw-r--r--webrtc/modules/audio_processing/processing_component.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/modules/audio_processing/processing_component.h b/webrtc/modules/audio_processing/processing_component.h
index 27400998e6..8ee3ac6c7d 100644
--- a/webrtc/modules/audio_processing/processing_component.h
+++ b/webrtc/modules/audio_processing/processing_component.h
@@ -38,7 +38,7 @@ class ProcessingComponent {
virtual void* CreateHandle() const = 0;
virtual int InitializeHandle(void* handle) const = 0;
virtual int ConfigureHandle(void* handle) const = 0;
- virtual int DestroyHandle(void* handle) const = 0;
+ virtual void DestroyHandle(void* handle) const = 0;
virtual int num_handles_required() const = 0;
virtual int GetHandleError(void* handle) const = 0;