Change function signature from float to double to match type get_doubleCloses #16160
(cherry picked from commit d2f1c87063
)
This commit is contained in:
parent
fa98637aca
commit
245c11be08
|
@ -310,7 +310,7 @@ float StreamPeer::get_float() {
|
|||
return decode_float(buf);
|
||||
}
|
||||
|
||||
float StreamPeer::get_double() {
|
||||
double StreamPeer::get_double() {
|
||||
|
||||
uint8_t buf[8];
|
||||
get_data(buf, 8);
|
||||
|
|
|
@ -83,7 +83,7 @@ public:
|
|||
uint64_t get_u64();
|
||||
int64_t get_64();
|
||||
float get_float();
|
||||
float get_double();
|
||||
double get_double();
|
||||
String get_string(int p_bytes);
|
||||
String get_utf8_string(int p_bytes);
|
||||
Variant get_var();
|
||||
|
|
Loading…
Reference in New Issue