Skip to content

Commit

Permalink
Merge pull request #10455 from wjwithagen/wip-wjw-clang-NULL
Browse files Browse the repository at this point in the history
src/kv/MemDB.cc: the type of the parameter of push_back() does not match the ops's value_type

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Aug 10, 2016
2 parents 253f285 + b7c3075 commit f4085aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kv/MemDB.cc
Expand Up @@ -231,7 +231,7 @@ void MemDB::MDBTransactionImpl::rmkey(const string &prefix,
dtrace << __func__ << " " << prefix << " " << k << dendl;
ops.push_back(make_pair(DELETE,
std::make_pair(std::make_pair(prefix, k),
NULL)));
bufferlist())));
}

void MemDB::MDBTransactionImpl::rmkeys_by_prefix(const string &prefix)
Expand Down

0 comments on commit f4085aa

Please sign in to comment.