diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-08-22 17:41:10 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-08-22 17:41:10 +0100 |
| commit | b7992bab3a5087bdfb1d2c25b1b3e0bad339b588 (patch) | |
| tree | f0527f8b9875434527daa463a63cae3f22e92a52 /rotord/src/rotord.cpp | |
| parent | f567fc4db536a2c513f2b9e357c511b3ecb39114 (diff) | |
building json loader
Diffstat (limited to 'rotord/src/rotord.cpp')
| -rwxr-xr-x | rotord/src/rotord.cpp | 2 |
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); |
