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:
Rémi Verschelde 2018-02-14 15:50:47 +01:00 committed by GitHub
commit b48cc669e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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();