]> git.mxchange.org Git - simgear.git/commitdiff
Fix HLAFederate for readXML API change
authorJames Turner <zakalawe@mac.com>
Mon, 4 Jul 2016 06:20:23 +0000 (07:20 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
simgear/hla/HLAFederate.cxx

index 462351cc1d6c620ad07023b24ce1508a0ffdef9e..ff9d6e898e1517cdac17e4a10bf42c985ea21eb4 100644 (file)
@@ -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());