mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user