2
0
Hugh Sanderson 13 жил өмнө
parent
commit
ab6cbcc944
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      std/cpp/vm/Thread.hx

+ 2 - 2
std/cpp/vm/Thread.hx

@@ -65,8 +65,8 @@ class Thread {
 		return untyped __global__.__hxcpp_thread_read_message(block);
 	}
 
-	function __compare(t) {
-		return untyped handle == t.handle;
+	function __compare(t) : Int {
+		return handle == t.handle ? 0 : 1;
 	}
 
 }