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

@@ -116,7 +116,7 @@ std::string legacyCheckForDeprecatedVariables ()
}
std::stringstream out;
if (!deprecated.empty())
if (deprecated.size ())
{
out << "Your .taskrc file contains variables that are deprecated:\n";
@@ -149,7 +149,7 @@ std::string legacyCheckForDeprecatedColumns ()
std::stringstream out;
out << "\n";
if (!deprecated.empty())
if (deprecated.size ())
{
out << "Your .taskrc file contains reports with deprecated columns. Please check for entry_time, start_time or end_time in:\n";