From 16ef5a0a49330adfb4eec8caa56cf37bde345123 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 4 Jul 2016 07:20:23 +0100 Subject: [PATCH] Fix HLAFederate for readXML API change --- simgear/hla/HLAFederate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/hla/HLAFederate.cxx b/simgear/hla/HLAFederate.cxx index 462351cc..ff9d6e89 100644 --- a/simgear/hla/HLAFederate.cxx +++ b/simgear/hla/HLAFederate.cxx @@ -798,7 +798,7 @@ HLAFederate::readRTI1516ObjectModelTemplate(const std::string& objectModel) // This one covers the generic attributes, parameters and data types. HLAOMTXmlVisitor omtXmlVisitor; try { - readXML(objectModel, omtXmlVisitor); + readXML(SGPath(objectModel), omtXmlVisitor); } catch (const sg_throwable& e) { SG_LOG(SG_IO, SG_ALERT, "Could not open HLA XML object model file: " << e.getMessage()); -- 2.39.5