Skip to content

Commit cfbd06a

Browse files
impl(testing_util): include algorithm header
`google/cloud/testing_util/command_line_parsing.cc` appears to use `std::transform` without including `<algorithm>`. We encountered this in Nixpkgs; you can see some example build logs at the bottom of https://hydra.nixos.org/build/323365915/log. I'm not *quite* sure of the root cause of this error appearing now (it may be related to GCC 15), but I believe this is nonetheless a correct change.
1 parent 702c057 commit cfbd06a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google/cloud/testing_util/command_line_parsing.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "google/cloud/internal/throw_delegate.h"
1717
#include "absl/strings/match.h"
1818
#include "absl/time/time.h"
19+
#include <algorithm>
1920
#include <cctype>
2021
#include <iomanip>
2122
#include <sstream>

0 commit comments

Comments
 (0)