Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1279)

Unified Diff: webrtc/modules/audio_processing/logging/apm_data_dumper.h

Issue 2296693002: Fixed the clang warning for ApmDataDumper (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/logging/apm_data_dumper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/logging/apm_data_dumper.h
diff --git a/webrtc/modules/audio_processing/logging/apm_data_dumper.h b/webrtc/modules/audio_processing/logging/apm_data_dumper.h
index eb3ee881a6446dd08bd9fe0086d298a0a72eff18..230c6b3a3e5796c677dde4cc054d8a1a35210010 100644
--- a/webrtc/modules/audio_processing/logging/apm_data_dumper.h
+++ b/webrtc/modules/audio_processing/logging/apm_data_dumper.h
@@ -40,15 +40,12 @@ struct RawFileCloseFunctor {
// Class that handles dumping of variables into files.
class ApmDataDumper {
public:
-// Constructor that takes an instance index that may
-// be used to distinguish data dumped from different
-// instances of the code.
-#if WEBRTC_AEC_DEBUG_DUMP == 1
- explicit ApmDataDumper(int instance_index)
- : instance_index_(instance_index) {}
-#else
- explicit ApmDataDumper(int instance_index) {}
-#endif
+ // Constructor that takes an instance index that may
+ // be used to distinguish data dumped from different
+ // instances of the code.
+ explicit ApmDataDumper(int instance_index);
+
+ ~ApmDataDumper();
// Reinitializes the data dumping such that new versions
// of all files being dumped to are created.
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/logging/apm_data_dumper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698