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

Unified Diff: webrtc/common.cc

Issue 2291503002: Fix Chromium clang plugin warnings (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 | « webrtc/common.h ('k') | webrtc/common.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common.cc
diff --git a/webrtc/modules/audio_coding/neteq/packet.cc b/webrtc/common.cc
similarity index 72%
copy from webrtc/modules/audio_coding/neteq/packet.cc
copy to webrtc/common.cc
index 8a19fe4d5923d5e22a5b485600c6da0c5f3856ba..bc24818a60b57d06186f95bcb22a888f90500817 100644
--- a/webrtc/modules/audio_coding/neteq/packet.cc
+++ b/webrtc/common.cc
@@ -8,12 +8,16 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/modules/audio_coding/neteq/packet.h"
+#include "webrtc/common.h"
namespace webrtc {
-Packet::Packet() = default;
+Config::Config() {}
-Packet::~Packet() = default;
+Config::~Config() {
+ for (OptionMap::iterator it = options_.begin(); it != options_.end(); ++it) {
+ delete it->second;
+ }
+}
} // namespace webrtc
« no previous file with comments | « webrtc/common.h ('k') | webrtc/common.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698