From: sgunderson@bigfoot.com <> Date: Wed, 21 Sep 2011 20:56:06 +0000 (+0200) Subject: Fix a typo causing references to freed memory. X-Git-Url: https://git.sesse.net/?p=xml-template;a=commitdiff_plain;h=c29512353e6e683b78ae50587b80e9a8db0797b1 Fix a typo causing references to freed memory. --- 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,