From 705447ce188213999343f7775309abeaea90107e Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 10 Dec 2014 11:30:42 +0100 Subject: [PATCH] Make ConfigCompiler::HandleInclude return an inline dictionary fixes #8047 --- lib/config/configcompiler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/config/configcompiler.cpp b/lib/config/configcompiler.cpp index 1e4f47bd8..b9b6369f3 100644 --- a/lib/config/configcompiler.cpp +++ b/lib/config/configcompiler.cpp @@ -140,7 +140,9 @@ Expression *ConfigCompiler::HandleInclude(const String& include, bool search, co BOOST_THROW_EXCEPTION(std::invalid_argument(msgbuf.str())); } - return new DictExpression(expressions); + DictExpression *expr = new DictExpression(expressions); + expr->MakeInline(); + return expr; } /** -- 2.40.0