mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: lint
This commit is contained in:
parent
52a8b1d911
commit
3e1176e896
@ -145,7 +145,8 @@ std::pair<int, int> leafNodesInWorkspace(const Json::Value& node) {
|
|||||||
return {sum, floating_sum};
|
return {sum, floating_sum};
|
||||||
}
|
}
|
||||||
|
|
||||||
std::optional<std::reference_wrapper<const Json::Value>> getSingleChildNode(const Json::Value& node) {
|
std::optional<std::reference_wrapper<const Json::Value>> getSingleChildNode(
|
||||||
|
const Json::Value& node) {
|
||||||
auto const& nodes = node["nodes"];
|
auto const& nodes = node["nodes"];
|
||||||
if (nodes.empty()) {
|
if (nodes.empty()) {
|
||||||
if (node["type"].asString() == "workspace")
|
if (node["type"].asString() == "workspace")
|
||||||
|
Loading…
Reference in New Issue
Block a user