mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
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
This commit is contained in:
committed by
Copybara-Service
parent
49146ec1a3
commit
a3c403f123
@@ -179,7 +179,7 @@ TEST(StrReplaceAll, ReplacementsInPlaceInMap) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct Cont {
|
struct Cont {
|
||||||
Cont() {}
|
Cont() = default;
|
||||||
explicit Cont(absl::string_view src) : data(src) {}
|
explicit Cont(absl::string_view src) : data(src) {}
|
||||||
|
|
||||||
absl::string_view data;
|
absl::string_view data;
|
||||||
|
|||||||
Reference in New Issue
Block a user