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
|
|
@ -30,13 +30,13 @@ TEST(LeakCheckTest, DetectLeakSanitizer) {
|
|||
|
||||
TEST(LeakCheckTest, IgnoreLeakSuppressesLeakedMemoryErrors) {
|
||||
auto foo = absl::IgnoreLeak(new std::string("some ignored leaked string"));
|
||||
ABSL_RAW_LOG(INFO, "Ignoring leaked std::string %s", foo->c_str());
|
||||
ABSL_RAW_LOG(INFO, "Ignoring leaked string %s", foo->c_str());
|
||||
}
|
||||
|
||||
TEST(LeakCheckTest, LeakCheckDisablerIgnoresLeak) {
|
||||
absl::LeakCheckDisabler disabler;
|
||||
auto foo = new std::string("some std::string leaked while checks are disabled");
|
||||
ABSL_RAW_LOG(INFO, "Ignoring leaked std::string %s", foo->c_str());
|
||||
auto foo = new std::string("some string leaked while checks are disabled");
|
||||
ABSL_RAW_LOG(INFO, "Ignoring leaked string %s", foo->c_str());
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue