GH #134: Fixed problem in Util::Application with xml or inifile no config

GH #134: Fixed problem in Util::Application with xml or inifile no
config
This commit is contained in:
Aleksandar Fabijanic
2013-03-24 00:18:35 -05:00
parent 3abf1cc73c
commit 4c593dba7a
7 changed files with 42 additions and 20 deletions

View File

@@ -34,14 +34,15 @@
//
// Avoid accidental linking of JSON library when JSONConfiguration
// is not desired.
#include "Poco/Util/JSONConfiguration.h"
#ifndef POCO_UTIL_NO_JSONCONFIGURATION
#include "Poco/FileStream.h"
#include "Poco/StringTokenizer.h"
#include "Poco/Util/JSONConfiguration.h"
#include "Poco/JSON/Parser.h"
#include "Poco/JSON/Query.h"
#include "Poco/JSON/DefaultHandler.h"
@@ -410,4 +411,5 @@ void JSONConfiguration::removeRaw(const std::string& key)
} } // namespace Poco::Util
#endif // POCO_UTIL_NO_JSONCONFIGURATION