Change function signature from float to double to match type get_doubleCloses #16160
This commit is contained in:
parent
4caadae0f1
commit
d2f1c87063
2 changed files with 2 additions and 2 deletions
|
@ -310,7 +310,7 @@ float StreamPeer::get_float() {
|
||||||
return decode_float(buf);
|
return decode_float(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
float StreamPeer::get_double() {
|
double StreamPeer::get_double() {
|
||||||
|
|
||||||
uint8_t buf[8];
|
uint8_t buf[8];
|
||||||
get_data(buf, 8);
|
get_data(buf, 8);
|
||||||
|
|
|
@ -83,7 +83,7 @@ public:
|
||||||
uint64_t get_u64();
|
uint64_t get_u64();
|
||||||
int64_t get_64();
|
int64_t get_64();
|
||||||
float get_float();
|
float get_float();
|
||||||
float get_double();
|
double get_double();
|
||||||
String get_string(int p_bytes);
|
String get_string(int p_bytes);
|
||||||
String get_utf8_string(int p_bytes);
|
String get_utf8_string(int p_bytes);
|
||||||
Variant get_var();
|
Variant get_var();
|
||||||
|
|
Loading…
Reference in a new issue