comparison OrthancServer/OrthancInitialization.cpp @ 2140:aa4b8895cd23

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 16:12:47 +0100
parents dd609a99d39a
children 8cbb55089a1d
comparison
equal deleted inserted replaced
2139:764c9157301b 2140:aa4b8895cd23
126 126
127 Json::Value config; 127 Json::Value config;
128 128
129 { 129 {
130 std::string content; 130 std::string content;
131 Toolbox::ReadFile(content, path.string()); 131 SystemToolbox::ReadFile(content, path.string());
132 132
133 Json::Value tmp; 133 Json::Value tmp;
134 Json::Reader reader; 134 Json::Reader reader;
135 if (!reader.parse(content, tmp) || 135 if (!reader.parse(content, tmp) ||
136 tmp.type() != Json::objectValue) 136 tmp.type() != Json::objectValue)