From c29512353e6e683b78ae50587b80e9a8db0797b1 Mon Sep 17 00:00:00 2001 From: "sgunderson@bigfoot.com" <> Date: Wed, 21 Sep 2011 22:56:06 +0200 Subject: [PATCH] Fix a typo causing references to freed memory. --- c++0x/xml-template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c++0x/xml-template.h b/c++0x/xml-template.h index afd688a..eb13211 100644 --- a/c++0x/xml-template.h +++ b/c++0x/xml-template.h @@ -38,7 +38,7 @@ class Substitute : public Directive { virtual void process(xmlNode *node, bool clean); private: - const std::unordered_map &substitution_map; + const std::unordered_map substitution_map; }; void process_file(const std::string &input_filename, -- 2.39.2