EvaluateAsConstExpr() can return an lvalue which is not compatible with a subsequent getInt() call. Instead, use EvaluateAsInt() which will use all techniques availble to get an int result compatible with the subsequent getInt() call.
145 KiB
145 KiB