Files
abseil-cpp/absl/debugging
Pavel P 983652e494 PR #1735: Avoid int to bool conversion warning
Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1735

If asan is enabled with VS, the following warning is issued by the compiler:

1>C:\work\abseil-cpp\absl\debugging\leak_check.cc(46,68): error C4800: Implicit conversion from 'int' to bool. Possible information loss
1>    C:\work\abseil-cpp\absl\debugging\leak_check.cc(46,68):
1>    consider using explicit cast or comparison to 0 to avoid this warning
Merge 9a6a677add into 8cdf482136

Merging this change closes #1735

COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1735 from pps83:master-int-bool-warn 9a6a677add
PiperOrigin-RevId: 657591557
Change-Id: I709424b5064160860186a42f854a1856465e80d0
2024-07-30 07:57:14 -07:00
..
2024-02-04 06:17:42 -08:00
2022-12-27 16:04:44 -08:00
2019-12-12 15:37:13 -05:00
2021-11-11 03:09:50 -05:00
2020-02-14 12:54:19 -05:00