Преглед изворни кода

make Bytes.readString inline again

Simon Krajewski пре 11 година
родитељ
комит
a9cab61569
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      std/haxe/io/Bytes.hx

+ 1 - 2
std/haxe/io/Bytes.hx

@@ -276,8 +276,7 @@ class Bytes {
 
 	@:deprecated("readString is deprecated, use getString instead")
 	@:noCompletion
-	// TODO: add inline if/when issue #2837 is resolved
-	public /*inline*/ function readString(pos:Int, len:Int):String {
+	public inline function readString(pos:Int, len:Int):String {
 		return getString(pos, len);
 	}