aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2021-01-11 15:09:12 +0100
committerTor Egge <Tor.Egge@broadpark.no>2021-01-11 15:09:12 +0100
commitdf5da535556509c3012432c663330a52feeb3fd0 (patch)
treece20269e3f06451397bd11886da62d926decf131 /vespalib
parentd9db41186c2732dbb3eec3d0259a6020adc75b48 (diff)
Use 8 bits for _state field.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/datastore/bufferstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/bufferstate.h b/vespalib/src/vespa/vespalib/datastore/bufferstate.h
index a90e4ea7833..ac6d1d54811 100644
--- a/vespalib/src/vespa/vespalib/datastore/bufferstate.h
+++ b/vespalib/src/vespa/vespalib/datastore/bufferstate.h
@@ -64,7 +64,7 @@ private:
Alloc _buffer;
uint32_t _arraySize;
uint16_t _typeId;
- State _state : 2;
+ State _state : 8;
bool _disableElemHoldList : 1;
bool _compacting : 1;
public: