Fix compiler warning

This commit is contained in:
Sebastian Messmer 2016-07-13 00:23:29 +02:00
parent 508766d2f2
commit e7268744c6
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ TEST_F(DataTreeTest_TraverseLeaves, LastLeafIsAlreadyResizedInCallback_TwoLevel)
auto root = CreateFullTwoLevelWithLastLeafSize(5);
root->flush();
auto tree = treeStore.load(root->key()).value();
tree->traverseLeaves(0, nodeStore->layout().maxChildrenPerInnerNode()+1, [this] (uint32_t leafIndex, DataLeafNode *leaf) {
tree->traverseLeaves(0, nodeStore->layout().maxChildrenPerInnerNode()+1, [this] (uint32_t /*leafIndex*/, DataLeafNode *leaf) {
EXPECT_EQ(nodeStore->layout().maxBytesPerLeaf(), leaf->numBytes());
}, [this] (uint32_t /*nodeIndex*/) -> Data {
return Data(1);