summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index a127570c..6c1a57c5 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -23,16 +23,18 @@
#include "configuration.h"
-#include "log.h"
#include <math.h>
-#include <iostream>
-#include <fstream>
#include <sstream>
-#include <libxml/parser.h>
-#include <libxml/tree.h>
#include <libxml/xmlwriter.h>
+#ifdef __DEBUG
+#include <iostream>
+#endif
+
+#include "configlistener.h"
+#include "log.h"
+
// MSVC libxml2 at the moment doesn't work right when using MinGW, missing this
// function at link time.
#ifdef WIN32
@@ -40,10 +42,6 @@
#define xmlFree(x) ;
#endif
-ConfigListener::~ConfigListener()
-{
-}
-
void Configuration::init(const std::string &filename)
{
configPath = filename;