commit | aeb7f8e67e32389a5f4ee02ed5dd6b6e98dac00f | [log] [tgz] |
---|---|---|
author | Victor Costan <[email protected]> | Fri Apr 06 19:05:26 2018 |
committer | Commit Bot <[email protected]> | Fri Apr 06 19:05:26 2018 |
tree | ccbbea5dd1be4c685d3b49de3effc371bf5bc979 | |
parent | c3b29356247745b6d2df55fff7cc10e0a2581ac6 [diff] [blame] |
Migrate from tr1/tuple to tuple in parametrized unit tests. Bug: 829773 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.win:win_chrome_official Change-Id: I0b26a5ea02c7f077285849979e5a819e31b7d503 Reviewed-on: https://chromium-review.googlesource.com/998849 Commit-Queue: Victor Costan <[email protected]> Reviewed-by: Nico Weber <[email protected]> Reviewed-by: Scott Violet <[email protected]> Cr-Commit-Position: refs/heads/master@{#548878}
diff --git a/remoting/protocol/validating_authenticator_unittest.cc b/remoting/protocol/validating_authenticator_unittest.cc index 6baddf23..75631e1 100644 --- a/remoting/protocol/validating_authenticator_unittest.cc +++ b/remoting/protocol/validating_authenticator_unittest.cc
@@ -4,6 +4,7 @@ #include <memory> #include <string> +#include <tuple> #include <utility> #include "base/bind.h" @@ -37,7 +38,7 @@ ACTION_TEMPLATE(InvokeCallbackArgument, HAS_1_TEMPLATE_PARAMS(int, k), AND_0_VALUE_PARAMS()) { - ::std::tr1::get<k>(args).Run(); + std::get<k>(args).Run(); } } // namespace