From eeafdf5815b7e99a6bd4e522b00bcd5b10923b32 Mon Sep 17 00:00:00 2001 From: Asias He Date: Thu, 16 Apr 2015 17:03:46 +0800 Subject: [PATCH] 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. --- gms/versioned_value.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gms/versioned_value.hh b/gms/versioned_value.hh index df8ec9425d..5757ea3c87 100644 --- a/gms/versioned_value.hh +++ b/gms/versioned_value.hh @@ -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")); }