浏览代码

Minor change for cpp

Hugh Sanderson 16 年之前
父节点
当前提交
20bf072cf7
共有 1 个文件被更改,包括 2 次插入0 次删除
  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