chore: lint

This commit is contained in:
Alex 2024-09-13 09:53:15 +02:00
parent 59b7715309
commit d177969f51
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ ALabel::ALabel(const Json::Value& config, const std::string& name, const std::st
if (config_["rotate"].isUInt()) { if (config_["rotate"].isUInt()) {
rotate = config["rotate"].asUInt(); rotate = config["rotate"].asUInt();
if (not (rotate == 0 || rotate == 90 || rotate == 180 || rotate == 270)) if (not(rotate == 0 || rotate == 90 || rotate == 180 || rotate == 270))
spdlog::warn("'rotate' is only supported in 90 degree increments {} is not valid.", rotate); spdlog::warn("'rotate' is only supported in 90 degree increments {} is not valid.", rotate);
label_.set_angle(rotate); label_.set_angle(rotate);
} }