mutation_fragment_stream_validator: disambiguate schema member definition

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 <bhalevy@scylladb.com>
Message-Id: <20210727073941.1999909-1-bhalevy@scylladb.com>
This commit is contained in:
Benny Halevy
2021-07-27 10:39:41 +03:00
committed by Avi Kivity
parent 8030461a2c
commit 424c53d5b1

View File

@@ -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;