commit | b328de500718e4b950623d717067bd4ff334c233 | [log] [tgz] |
---|---|---|
author | Devany Sandoval <sandovad@google.com> | Thu Jun 21 14:57:39 2018 -0700 |
committer | sandovad <sandovad@google.com> | Tue Sep 03 12:58:04 2019 -0700 |
tree | a3b015b79110f7d8bf9fe04d8be3d2ca1422e82f | |
parent | 07d470e119b537cb082da8e1ae611289c51b4452 [diff] |
Internal change PiperOrigin-RevId: 201592035 Change-Id: I77d9316c94afa5f5ba343341257e97c6bc199e3a
diff --git a/src/url/gurl_unittest.cc b/src/url/gurl_unittest.cc index f6e426d..df39970 100644 --- a/src/url/gurl_unittest.cc +++ b/src/url/gurl_unittest.cc
@@ -187,7 +187,7 @@ TEST(GURLTest, SelfAssign) { GURL a("filesystem:http://example.com/temporary/"); // This should not crash. - a = a; + a = *&a; // The *& defeats Clang's -Wself-assign warning. } TEST(GURLTest, CopyFileSystem) {