Browse Source

Minor change for cpp

Hugh Sanderson 16 năm trước cách đây
mục cha
commit
20bf072cf7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      std/haxe/io/Output.hx

+ 2 - 0
std/haxe/io/Output.hx

@@ -50,6 +50,8 @@ class Output {
 				writeByte(untyped __dollar__sget(b,pos));
 			#elseif php
 				writeByte(untyped __call__("ord", b[pos]));
+			#elseif cpp
+				writeByte(untyped b[pos]);
 			#else
 				writeByte(b[pos]);
 			#end