summaryrefslogtreecommitdiff
path: root/rotord/src/rotord.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-08-22 17:41:10 +0100
committerTim Redfern <tim@eclectronics.org>2013-08-22 17:41:10 +0100
commitb7992bab3a5087bdfb1d2c25b1b3e0bad339b588 (patch)
treef0527f8b9875434527daa463a63cae3f22e92a52 /rotord/src/rotord.cpp
parentf567fc4db536a2c513f2b9e357c511b3ecb39114 (diff)
building json loader
Diffstat (limited to 'rotord/src/rotord.cpp')
-rwxr-xr-xrotord/src/rotord.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/rotord.cpp b/rotord/src/rotord.cpp
index 928e07e..df1ee6a 100755
--- a/rotord/src/rotord.cpp
+++ b/rotord/src/rotord.cpp
@@ -106,7 +106,7 @@ HTTPRequestHandler* RotorRequestHandlerFactory::createRequestHandler(const HTTPS
Json::StyledWriter writer;
//root["title"]="Lights Down @Rotor";
//root["audio"]="filename";
- root["nodeslist"]=Json::arrayValue;
+
Node_factory factory;
factory.list_nodes(root);
string content = writer.write(root);