Export of internal Abseil changes
-- ea0cfebeb69b25bec343652bbe1a203f5476c51a by Mark Barolak <mbar@google.com>: Change "std::string" to "string" in places where a "std::" qualification was incorrectly inserted by automation. PiperOrigin-RevId: 300108520 GitOrigin-RevId: ea0cfebeb69b25bec343652bbe1a203f5476c51a Change-Id: Ie3621e63a6ebad67b9fe56a3ebe33e1d50dac602
This commit is contained in:
parent
d936052d32
commit
a877af1f29
68 changed files with 191 additions and 191 deletions
|
|
@ -2132,11 +2132,11 @@ TEST(Btree, UserProvidedKeyCompareToComparators) {
|
|||
TEST(Btree, TryEmplaceBasicTest) {
|
||||
absl::btree_map<int, std::string> m;
|
||||
|
||||
// Should construct a std::string from the literal.
|
||||
// Should construct a string from the literal.
|
||||
m.try_emplace(1, "one");
|
||||
EXPECT_EQ(1, m.size());
|
||||
|
||||
// Try other std::string constructors and const lvalue key.
|
||||
// Try other string constructors and const lvalue key.
|
||||
const int key(42);
|
||||
m.try_emplace(key, 3, 'a');
|
||||
m.try_emplace(2, std::string("two"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue