mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
fix: lint
This commit is contained in:
@@ -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")
|
||||||
|
Reference in New Issue
Block a user