| 96 | } |
| 97 | |
| 98 | void jsonToPathTree(PathTree &tree, Json::Value nodes) { |
| 99 | for (auto const &node : nodes) { |
| 100 | elements::PathElement elt = jsonToPathElement(node); |
| 101 | tree.getNodeByPath(node["path"].asString()).value() = elt; |
| 102 | } |
| 103 | } |
| 104 | } // namespace common |
| 105 | } // namespace osvr |
no test coverage detected