mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-07 21:07:23 +08:00
refactor: server/Config use empty() to check if args are empty
This commit is contained in:
parent
dc0db9d192
commit
aedbffa809
@ -1063,7 +1063,7 @@ void Config::parseAction(
|
||||
}
|
||||
|
||||
else if (name == "switchToNextScreen") {
|
||||
if (args.size() != 0) {
|
||||
if (!args.empty()) {
|
||||
throw ServerConfigReadException(s, "syntax for action: switchToNextScreen");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user