Explorar o código

Fix incorrect type on value field (#12055)

Aidan Lee hai 5 meses
pai
achega
22839a3742
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/cpp/ConstPointer.hx

+ 1 - 1
std/cpp/ConstPointer.hx

@@ -28,7 +28,7 @@ extern class ConstPointer<T> {
 	// Use value or ref to get dereferenced value
 	var ptr:Star<T>;
 
-	var value(get, never):T;
+	var value(get, never):Reference<T>;
 
 	// Typecast to non-const
 	var raw(get, never):RawPointer<T>;