src: prefer C++ empty() in boolean expressions
This changes occurrences of length()
and size()
to empty()
where it makes the code simpler.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines