Browse Source

Use stronger typing where possible

Hugh Sanderson 13 years ago
parent
commit
91f7d0bf56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/cpp/_std/Xml.hx

+ 1 - 1
std/cpp/_std/Xml.hx

@@ -53,7 +53,7 @@ enum XmlType {
 		var parser = {
 			cur : x,
 			xml : function(name,att) {
-				var x : Dynamic = new Xml();
+				var x = new Xml();
 				x._parent = untyped __this__.cur;
 				x.nodeType = Xml.Element;
 				x._nodeName = new String(name);