diff options
author | Abseil Team <absl-team@google.com> | 2023-02-28 02:46:37 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-02-28 02:47:21 (GMT) |
commit | 8aa75fa7712d04185c974d535cd6e678a253e9fa (patch) | |
tree | 5ee0a83d172295ef8d52f2889ea71b1544a9e952 | |
parent | c7d0bc8309fc5b3bb73ee33e86fb6e3d760480aa (diff) | |
download | googletest-8aa75fa7712d04185c974d535cd6e678a253e9fa.zip googletest-8aa75fa7712d04185c974d535cd6e678a253e9fa.tar.gz googletest-8aa75fa7712d04185c974d535cd6e678a253e9fa.tar.bz2 |
Eliminate argv list action parameter.
PiperOrigin-RevId: 512791992
Change-Id: Ie7fc37ea06ea7d9f595268c9ec84a0e144c297bb
-rw-r--r-- | WORKSPACE | 8 | ||||
-rw-r--r-- | googletest/src/gtest.cc | 3 |
2 files changed, 5 insertions, 6 deletions
@@ -3,10 +3,10 @@ workspace(name = "com_google_googletest") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( - name = "com_google_absl", # 2023-01-10T21:08:25Z - sha256 = "f9a4e749f42c386a32a90fddf0e2913ed408d10c42f7f33ccf4c59ac4f0d1d05", - strip_prefix = "abseil-cpp-52835439ca90d86b27bf8cd1708296e95604d724", - urls = ["https://github.com/abseil/abseil-cpp/archive/52835439ca90d86b27bf8cd1708296e95604d724.zip"], + name = "com_google_absl", # 2023-02-27T15:50:25Z + sha256 = "baf8e734ac3ce213a889ce7c248b981ee1730e2093e32808e0f0a910dc985f76", + strip_prefix = "abseil-cpp-0c1114c4fb83c844c7fd74708338cca1d3d9b0dc", + urls = ["https://github.com/abseil/abseil-cpp/archive/0c1114c4fb83c844c7fd74708338cca1d3d9b0dc.zip"], ) # Note this must use a commit from the `abseil` branch of the RE2 project. diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index 8195e5f..fb578d5 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -6667,8 +6667,7 @@ void ParseGoogleTestFlagsOnly(int* argc, char** argv) { if (*argc > 0) { // absl::ParseCommandLine() requires *argc > 0. auto positional_args = absl::flags_internal::ParseCommandLineImpl( - *argc, argv, absl::flags_internal::ArgvListAction::kRemoveParsedArgs, - absl::flags_internal::UsageFlagsAction::kHandleUsage, + *argc, argv, absl::flags_internal::UsageFlagsAction::kHandleUsage, absl::flags_internal::OnUndefinedFlag::kReportUndefined); // Any command-line positional arguments not part of any command-line flag // (or arguments to a flag) are copied back out to argv, with the program |