fix: lint

This commit is contained in:
Alex 2023-07-18 08:35:46 +02:00
parent 52a8b1d911
commit 3e1176e896

View File

@ -145,7 +145,8 @@ std::pair<int, int> leafNodesInWorkspace(const Json::Value& node) {
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"];
if (nodes.empty()) {
if (node["type"].asString() == "workspace")