Merge pull request #16169 from hungrymonkey/issue_16160
Change function signature from float to double to match type get_doub…
This commit is contained in:
commit
b48cc669e2
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue