summaryrefslogtreecommitdiff
path: root/test/vp9_arf_freq_test.cc
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2018-11-27 09:49:12 -0800
committerJingning Han <jingning@google.com>2018-11-27 09:49:12 -0800
commit77fa5100306f9402990ea5e0810c7d6180aabf05 (patch)
treef3ceda19217f13b5f5bcd5a4f0c996886ba9ca43 /test/vp9_arf_freq_test.cc
parentd3d22aa7c9ff19af3af2cf21cd7c7739fc2c6263 (diff)
downloadlibvpx-77fa5100306f9402990ea5e0810c7d6180aabf05.tar
libvpx-77fa5100306f9402990ea5e0810c7d6180aabf05.tar.gz
libvpx-77fa5100306f9402990ea5e0810c7d6180aabf05.tar.bz2
libvpx-77fa5100306f9402990ea5e0810c7d6180aabf05.zip
Replace deprecated scoped_ptr with unique_ptr
Change-Id: I2793a1b65164946eb7d67d80ccba9e798db3d9af
Diffstat (limited to 'test/vp9_arf_freq_test.cc')
-rw-r--r--test/vp9_arf_freq_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/vp9_arf_freq_test.cc b/test/vp9_arf_freq_test.cc
index 48a4ca739..9a3455b4a 100644
--- a/test/vp9_arf_freq_test.cc
+++ b/test/vp9_arf_freq_test.cc
@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <memory>
+
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/codec_factory.h"
@@ -190,7 +192,7 @@ TEST_P(ArfFreqTest, MinArfFreqTest) {
init_flags_ = VPX_CODEC_USE_PSNR;
if (cfg_.g_bit_depth > 8) init_flags_ |= VPX_CODEC_USE_HIGHBITDEPTH;
- testing::internal::scoped_ptr<libvpx_test::VideoSource> video;
+ std::unique_ptr<libvpx_test::VideoSource> video;
if (is_extension_y4m(test_video_param_.filename)) {
video.reset(new libvpx_test::Y4mVideoSource(test_video_param_.filename, 0,
kFrames));