Skip to content

Commit

Permalink
gossip: Make gms::versioned_value::load static
Browse files Browse the repository at this point in the history
We are supposed to call it without an instance.
We will convert other similar functions in follow up patches.
  • Loading branch information
asias committed Apr 16, 2015
1 parent d661827 commit eeafdf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gms/versioned_value.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
Expand Down

0 comments on commit eeafdf5

Please sign in to comment.