Revert "[clang-tidy] Use .empty instead of comparing size"
This reverts commit a331cceded.
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user