Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Jan 24, 2024
1 parent b6010a6 commit 6c63992
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nvhttp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ namespace nvhttp {
client.uniqueID = "0123456789ABCDEF"s;

// Import from old format
if(root.get_child_optional("devices")) {
auto device_nodes = root.get_child("devices");
if (root.get_child_optional("devices")) {
auto device_nodes = root.get_child("devices");
for (auto &[_, device_node] : device_nodes) {
auto uniqID = device_node.get<std::string>("uniqueid");

Expand Down

0 comments on commit 6c63992

Please sign in to comment.