From 28b03772f2b62506dff6e4e42fec8c56eacce6ca Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Tue, 24 Mar 2015 09:37:25 +0200 Subject: [PATCH] Add schema::set_comment() member function Needed by the cf_prop_defs class to modify a schema object in the apply_to_cf_metadata() function. Signed-off-by: Pekka Enberg --- schema.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/schema.hh b/schema.hh index ba480b7c31..16c072b1c9 100644 --- a/schema.hh +++ b/schema.hh @@ -114,6 +114,9 @@ public: shared_ptr regular_column_name_type, sstring comment = {}); schema(const schema&); + void set_comment(const sstring& comment) { + _comment = comment; + } bool is_dense() const { return false; }