mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: Static_binary_string need not take non-const double parameter
Convert the parameter to const as the function won't modify the pointer value.
This commit is contained in:
@ -767,10 +767,10 @@ void Static_binary_string::qs_append(double d)
|
||||
NULL);
|
||||
}
|
||||
|
||||
void Static_binary_string::qs_append(double *d)
|
||||
void Static_binary_string::qs_append(const double *d)
|
||||
{
|
||||
double ld;
|
||||
float8get(ld, (char*) d);
|
||||
float8get(ld, (const char*) d);
|
||||
qs_append(ld);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user