Browse Source

[cpp] keep Thread.__compare. Closes 4141

hughsando 10 years ago
parent
commit
0a903c6791
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/cpp/vm/Thread.hx

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

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