diff options
author | Geir Storli <geirst@yahoo-inc.com> | 2016-11-17 14:56:55 +0100 |
---|---|---|
committer | Geir Storli <geirst@yahoo-inc.com> | 2016-11-18 12:43:32 +0100 |
commit | ea868c5fff3bf6d2de9ecf3d746e8e46c4257edc (patch) | |
tree | e082d78b083b6e35582d667d73d269efa3659aa1 /searchlib/src/tests/attribute/postinglist/postinglist.cpp | |
parent | 36f1a267ad1bb1f271b5ee2fb68727cbe348f65d (diff) |
Make member variables in BufferState private and add public functions where needed.
Diffstat (limited to 'searchlib/src/tests/attribute/postinglist/postinglist.cpp')
-rw-r--r-- | searchlib/src/tests/attribute/postinglist/postinglist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/postinglist/postinglist.cpp b/searchlib/src/tests/attribute/postinglist/postinglist.cpp index ea53bd49c19..2bd02d433d5 100644 --- a/searchlib/src/tests/attribute/postinglist/postinglist.cpp +++ b/searchlib/src/tests/attribute/postinglist/postinglist.cpp @@ -594,7 +594,7 @@ AttributePostingListTest::doCompactEnumStore(Tree &tree, for (uint32_t bufferId = 0; bufferId < numBuffers; ++bufferId) { datastore::BufferState &state = valueHandle.getBufferState(bufferId); - if (state._state == datastore::BufferState::ACTIVE) { + if (state.isActive()) { toHold.push_back(bufferId); // Freelists already disabled due to variable sized data } |