possible dangling reference

This commit is contained in:
Daniel Sipka 2015-04-26 15:34:46 +02:00
parent 04ad48806e
commit 39748d3a60

View File

@ -39,7 +39,7 @@ class render_context {
const mstch::node& find_node(
const std::string& token,
const std::deque<node>& current_nodes);
const std::map<std::string, template_type>& partials;
std::map<std::string, template_type> partials;
std::deque<mstch::node> nodes;
std::stack<std::unique_ptr<render_state>> state;
};