Skip to content

Commit 8aa75fa

Browse files
Abseil Teamcopybara-github
authored andcommitted
Eliminate argv list action parameter.
PiperOrigin-RevId: 512791992 Change-Id: Ie7fc37ea06ea7d9f595268c9ec84a0e144c297bb
1 parent c7d0bc8 commit 8aa75fa

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ workspace(name = "com_google_googletest")
33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

55
http_archive(
6-
name = "com_google_absl", # 2023-01-10T21:08:25Z
7-
sha256 = "f9a4e749f42c386a32a90fddf0e2913ed408d10c42f7f33ccf4c59ac4f0d1d05",
8-
strip_prefix = "abseil-cpp-52835439ca90d86b27bf8cd1708296e95604d724",
9-
urls = ["https://github.com/abseil/abseil-cpp/archive/52835439ca90d86b27bf8cd1708296e95604d724.zip"],
6+
name = "com_google_absl", # 2023-02-27T15:50:25Z
7+
sha256 = "baf8e734ac3ce213a889ce7c248b981ee1730e2093e32808e0f0a910dc985f76",
8+
strip_prefix = "abseil-cpp-0c1114c4fb83c844c7fd74708338cca1d3d9b0dc",
9+
urls = ["https://github.com/abseil/abseil-cpp/archive/0c1114c4fb83c844c7fd74708338cca1d3d9b0dc.zip"],
1010
)
1111

1212
# Note this must use a commit from the `abseil` branch of the RE2 project.

googletest/src/gtest.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6667,8 +6667,7 @@ void ParseGoogleTestFlagsOnly(int* argc, char** argv) {
66676667
if (*argc > 0) {
66686668
// absl::ParseCommandLine() requires *argc > 0.
66696669
auto positional_args = absl::flags_internal::ParseCommandLineImpl(
6670-
*argc, argv, absl::flags_internal::ArgvListAction::kRemoveParsedArgs,
6671-
absl::flags_internal::UsageFlagsAction::kHandleUsage,
6670+
*argc, argv, absl::flags_internal::UsageFlagsAction::kHandleUsage,
66726671
absl::flags_internal::OnUndefinedFlag::kReportUndefined);
66736672
// Any command-line positional arguments not part of any command-line flag
66746673
// (or arguments to a flag) are copied back out to argv, with the program

0 commit comments

Comments
 (0)