merge(3p/absl): subtree merge of Abseil up to e19260f
... notably, this includes Abseil's own StatusOr type, which conflicted with our implementation (that was taken from TensorFlow). Change-Id: Ie7d6764b64055caaeb8dc7b6b9d066291e6b538f
This commit is contained in:
parent
cc27324d02
commit
082c006c04
854 changed files with 11260 additions and 5296 deletions
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "absl/base/dynamic_annotations.h" // for RunningOnValgrind
|
||||
#include "absl/base/dynamic_annotations.h"
|
||||
#include "absl/base/macros.h"
|
||||
#include "absl/container/flat_hash_map.h"
|
||||
#include "absl/container/node_hash_map.h"
|
||||
|
|
@ -367,7 +367,7 @@ TEST(SplitIterator, EqualityAsEndCondition) {
|
|||
TEST(Splitter, RangeIterators) {
|
||||
auto splitter = absl::StrSplit("a,b,c", ',');
|
||||
std::vector<absl::string_view> output;
|
||||
for (const absl::string_view p : splitter) {
|
||||
for (const absl::string_view& p : splitter) {
|
||||
output.push_back(p);
|
||||
}
|
||||
EXPECT_THAT(output, ElementsAre("a", "b", "c"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue