mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 19:35:12 +00:00
gossip: Make gms::versioned_value::load static
We are supposed to call it without an instance. We will convert other similar functions in follow up patches.
This commit is contained in:
@@ -139,7 +139,7 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
versioned_value load(double load)
|
||||
static inline versioned_value load(double load)
|
||||
{
|
||||
return versioned_value(to_sstring_sprintf(load, "%g"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user