changeset 40:50e4859d9769

Simple fix for compiling on different versions of gcc (Linux)
author Andrew McPherson <andrewm@eecs.qmul.ac.uk>
date Fri, 21 Mar 2014 23:13:19 +0000
parents ef9c7ef09397
children 85577160a0d4
files Source/MainApplicationController.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Source/MainApplicationController.cpp	Fri Mar 21 22:54:57 2014 +0000
+++ b/Source/MainApplicationController.cpp	Fri Mar 21 23:13:19 2014 +0000
@@ -512,7 +512,7 @@
     
     // Load the XML element from the file and check that it is valid
     XmlDocument document(inputFile);
-    ScopedPointer<XmlElement> mainElement = document.getDocumentElement();
+    ScopedPointer<XmlElement> mainElement(document.getDocumentElement());
     
     if(mainElement == 0)
         return false;