summaryrefslogtreecommitdiff
path: root/video_engine/test/auto_test/primitives/framedrop_primitives_unittest.cc
diff options
context:
space:
mode:
authorpbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-08-05 16:22:53 +0000
committerpbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-08-05 16:22:53 +0000
commit3f45c2e0ac4cb280f941efa3a3476895795e3dd6 (patch)
treeb449e98158b17765606544974759a1f387b02eaf /video_engine/test/auto_test/primitives/framedrop_primitives_unittest.cc
parent043f6a808f9ef95d573a222dfe5eb7f94f00f268 (diff)
downloadwebrtc-3f45c2e0ac4cb280f941efa3a3476895795e3dd6.tar.gz
Switch C++-style C headers with their C equivalents.
The C++ headers define the C functions within the std:: namespace, but we mainly don't use the std:: namespace for C functions. Therefore we should include the C headers. BUG=1833 R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1917004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4486 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video_engine/test/auto_test/primitives/framedrop_primitives_unittest.cc')
-rw-r--r--video_engine/test/auto_test/primitives/framedrop_primitives_unittest.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/video_engine/test/auto_test/primitives/framedrop_primitives_unittest.cc b/video_engine/test/auto_test/primitives/framedrop_primitives_unittest.cc
index 5edd4a3c..c1501e5a 100644
--- a/video_engine/test/auto_test/primitives/framedrop_primitives_unittest.cc
+++ b/video_engine/test/auto_test/primitives/framedrop_primitives_unittest.cc
@@ -10,7 +10,8 @@
#include "webrtc/video_engine/test/auto_test/primitives/framedrop_primitives.h"
-#include <cstdio>
+#include <stdio.h>
+
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
@@ -29,11 +30,11 @@ class FrameDropPrimitivesTest: public testing::Test {
virtual ~FrameDropPrimitivesTest() {}
void SetUp() {
// Cleanup any previous output file.
- std::remove(kOutputFilename.c_str());
+ remove(kOutputFilename.c_str());
}
void TearDown() {
// Cleanup the temporary file.
- std::remove(kOutputFilename.c_str());
+ remove(kOutputFilename.c_str());
}
};