diff --git a/src/common/ceph_json.h b/src/common/ceph_json.h index f33f293e246..08e8d9e4662 100644 --- a/src/common/ceph_json.h +++ b/src/common/ceph_json.h @@ -220,8 +220,8 @@ void decode_json_obj(std::set& l, JSONObj *obj) } } -template -void decode_json_obj(boost::container::flat_set& l, JSONObj *obj) +template +void decode_json_obj(boost::container::flat_set& l, JSONObj *obj) { l.clear(); @@ -560,9 +560,9 @@ static void encode_json(const char *name, const std::set& l, ceph::F f->close_section(); } -template > +template static void encode_json(const char *name, - const boost::container::flat_set& l, + const boost::container::flat_set& l, ceph::Formatter *f) { f->open_array_section(name);