Revert "[clang-tidy] Use .empty instead of comparing size"

This reverts commit a331cceded.
This commit is contained in:
Paul Beckingham 2020-12-05 16:18:15 -05:00
parent b2d46a1eba
commit 3e0a428185
18 changed files with 132 additions and 132 deletions

View file

@ -41,7 +41,7 @@ bool nag (Task& task)
return false;
auto msg = Context::getContext ().config.get ("nag");
if (!msg.empty())
if (msg != "")
{
// Scan all pending, non-recurring tasks.
auto pending = Context::getContext ().tdb2.pending.get_tasks ();