commit | 263c056134de2f50b2a1c7e2e66b80133d781a02 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Mon Feb 06 14:56:16 2023 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 07 16:52:28 2023 +1030 |
tree | c433d43ccdef4bd9475ff2241398e0378025f40e | |
parent | 7782f0d65dba0004a83bb3a11478db27baef4d7a [diff] |
physical: Fix readability-implicit-bool-conversion ``` /home/andrew/src/openbmc/phosphor-led-sysfs/build/../physical.cpp:135:10: error: implicit conversion 'std::basic_string<char>::size_type' (aka 'unsigned long') -> bool [readability-implicit-bool-conversion,-warnings-as-errors] if (!color.length()) ~^ == 0u ``` Change-Id: I0bb5e13bec6fbe8b21a89af695ca8f9535e3cdab Signed-off-by: Andrew Jeffery <andrew@aj.id.au>