From 391f7cc406e481a07ecc4f129ef38a80252938d4 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 13 Nov 2017 10:49:05 +0100 Subject: Cycles: Fix compilation error of standalone application --- intern/cycles/app/cycles_xml.cpp | 2 +- intern/cycles/util/util_xml.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index 3a1c7205c34..f2db9271a89 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -358,7 +358,7 @@ static void xml_read_shader(XMLReadState& state, xml_node node) /* Background */ -static void xml_read_background(XMLReadState& state, pugi::xml_node node) +static void xml_read_background(XMLReadState& state, xml_node node) { /* Background Settings */ xml_read_node(state, state.scene->background, node); diff --git a/intern/cycles/util/util_xml.h b/intern/cycles/util/util_xml.h index c9c1ea47e96..6f06f17937b 100644 --- a/intern/cycles/util/util_xml.h +++ b/intern/cycles/util/util_xml.h @@ -31,8 +31,10 @@ OIIO_NAMESPACE_USING # define PUGIXML_NAMESPACE OIIO_NAMESPACE::pugi #endif -using PUGIXML_NAMESPACE::xml_node; using PUGIXML_NAMESPACE::xml_attribute; +using PUGIXML_NAMESPACE::xml_document; +using PUGIXML_NAMESPACE::xml_node; +using PUGIXML_NAMESPACE::xml_parse_result; CCL_NAMESPACE_END -- cgit v1.2.3