Преглед на файлове

Fix incorrect type on value field (#12055)

Aidan Lee преди 6 месеца
родител
ревизия
22839a3742
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>;