From 39748d3a605413183f51a03bf35bb470c4c352c9 Mon Sep 17 00:00:00 2001 From: Daniel Sipka Date: Sun, 26 Apr 2015 15:34:46 +0200 Subject: [PATCH] possible dangling reference --- src/render_context.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render_context.hpp b/src/render_context.hpp index a6a66fd..af2e9db 100644 --- a/src/render_context.hpp +++ b/src/render_context.hpp @@ -39,7 +39,7 @@ class render_context { const mstch::node& find_node( const std::string& token, const std::deque& current_nodes); - const std::map& partials; + std::map partials; std::deque nodes; std::stack> state; };