summaryrefslogtreecommitdiff
path: root/project2/sessionXml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/sessionXml.cpp')
-rw-r--r--project2/sessionXml.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/project2/sessionXml.cpp b/project2/sessionXml.cpp
index f7ff7c4..3281a81 100644
--- a/project2/sessionXml.cpp
+++ b/project2/sessionXml.cpp
@@ -1,6 +1,5 @@
#include "sessionXml.h"
#include "uuid.h"
-#include "genericVisitor.h"
#include <libxml++/nodes/element.h>
#include <libxml++/parsers/domparser.h>
#include <libxml++/nodes/textnode.h>
@@ -71,7 +70,7 @@ SessionContainerXml::CleanUp()
sess->set_attribute("expires", boost::lexical_cast<Glib::ustring>(currentSession->expires));
BOOST_FOREACH(const SessionXml::Values::value_type & nvp, currentSession->vars) {
xmlpp::Element * v = sess->add_child("var");
- LexicalCall<Glib::ustring, void>(boost::bind(&xmlpp::Element::add_child_text, v, _1), nvp.second);
+ v->add_child_text(nvp.second);
v->set_attribute("name", nvp.first);
}
doc->write_to_file(xmlFile);