diff options
author | Dmitri Gribenko <dmitrig@google.com> | 2023-08-08 14:06:41 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-08-08 14:07:38 -0700 |
commit | a3c403f123050b9cf784dba6ba9578c9981847f5 (patch) | |
tree | 646ed3688b0a845387a6ebf901be92d369120c54 | |
parent | 49146ec1a333631b9a9e30cd2bf0685ad734e4e1 (diff) |
Fix ClangTidy warnings
* converting integer literal to bool, use bool literal instead
* use '= default' to define a trivial default constructor
PiperOrigin-RevId: 554935854
Change-Id: If16a435664641df049b8810044b34a05ea2b4028
-rw-r--r-- | absl/strings/str_replace_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/strings/str_replace_test.cc b/absl/strings/str_replace_test.cc index 36cb9551..04b23af6 100644 --- a/absl/strings/str_replace_test.cc +++ b/absl/strings/str_replace_test.cc @@ -179,7 +179,7 @@ TEST(StrReplaceAll, ReplacementsInPlaceInMap) { } struct Cont { - Cont() {} + Cont() = default; explicit Cont(absl::string_view src) : data(src) {} absl::string_view data; |