Skip to content

Commit

Permalink
config: size()==0 -> empty()
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Jun 27, 2024
1 parent 86679ca commit b07e069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ bool parseFile(nsjconf_t* nsjconf, const char* file) {
LOG_E("Couldn't read config file %s", QC(file));
return false;
}
if (conf.size() == 0) {
if (conf.empty()) {
LOG_E("Config file %s is empty", QC(file));
return false;
}
Expand Down

0 comments on commit b07e069

Please sign in to comment.