From 424c53d5b1fb901be2d96e732bf9879e4d5fcbeb Mon Sep 17 00:00:00 2001 From: Benny Halevy Date: Tue, 27 Jul 2021 10:39:41 +0300 Subject: [PATCH] mutation_fragment_stream_validator: disambiguate schema member definition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gcc 10.3.1 complains that: ``` ./mutation_fragment_stream_validator.hh:39:21: error: declaration of ‘const schema& mutation_fragment_stream_validator::schema() const’ changes meaning of ‘schema’ [-fpermissive] 39 | const ::schema& schema() const { return _schema; } | ^~~~~~ ``` Defining the _schama member as `::schema` rather than just `schema` calms the compiler down. Signed-off-by: Benny Halevy Message-Id: <20210727073941.1999909-1-bhalevy@scylladb.com> --- mutation_fragment_stream_validator.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutation_fragment_stream_validator.hh b/mutation_fragment_stream_validator.hh index d8ad3306bb..180c5d912c 100644 --- a/mutation_fragment_stream_validator.hh +++ b/mutation_fragment_stream_validator.hh @@ -37,7 +37,7 @@ enum class mutation_fragment_stream_validation_level { /// can be used, but what is used have to be consistent across the entire /// stream. class mutation_fragment_stream_validator { - const schema& _schema; + const ::schema& _schema; mutation_fragment::kind _prev_kind; position_in_partition _prev_pos; dht::decorated_key _prev_partition_key;