summaryrefslogtreecommitdiff
path: root/test/util.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2018-12-06 23:58:37 -0800
committerJames Zern <jzern@google.com>2018-12-07 17:55:21 -0800
commit8f03f719af125250775207afe35c27530cf1326c (patch)
treed2b37542707131e4f93c190e79e409b0c8abfd65 /test/util.h
parent418acaa0bd06e0666d5a55743e3a85b83c759619 (diff)
downloadlibvpx-8f03f719af125250775207afe35c27530cf1326c.tar
libvpx-8f03f719af125250775207afe35c27530cf1326c.tar.gz
libvpx-8f03f719af125250775207afe35c27530cf1326c.tar.bz2
libvpx-8f03f719af125250775207afe35c27530cf1326c.zip
test/*: use std::*tuple
since: 77fa51003 Replace deprecated scoped_ptr with unique_ptr c++11 has been required so <tuple> is safe to use Change-Id: I873cb953104b361a8503b5839a3372ce2b99e73c
Diffstat (limited to 'test/util.h')
-rw-r--r--test/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/util.h b/test/util.h
index 4392188d7..985f48709 100644
--- a/test/util.h
+++ b/test/util.h
@@ -13,11 +13,13 @@
#include <stdio.h>
#include <math.h>
+#include <tuple>
+
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vpx/vpx_image.h"
// Macros
-#define GET_PARAM(k) ::testing::get<k>(GetParam())
+#define GET_PARAM(k) std::get<k>(GetParam())
inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) {
assert((img1->fmt == img2->fmt) && (img1->d_w == img2->d_w) &&