mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-14 10:25:27 +00:00
Make all String float conversion methods be 64-bit
This commit is contained in:
@@ -150,7 +150,7 @@ String StringBuffer<SHORT_BUFFER_SIZE>::as_string() {
|
||||
template <int SHORT_BUFFER_SIZE>
|
||||
double StringBuffer<SHORT_BUFFER_SIZE>::as_double() {
|
||||
current_buffer_ptr()[string_length] = '\0';
|
||||
return String::to_double(current_buffer_ptr());
|
||||
return String::to_float(current_buffer_ptr());
|
||||
}
|
||||
|
||||
template <int SHORT_BUFFER_SIZE>
|
||||
|
||||
Reference in New Issue
Block a user