Skip to content

Commit

Permalink
FIX: Removes variable from lambda capture that conflicted with args
Browse files Browse the repository at this point in the history
  • Loading branch information
craigulmer committed May 30, 2020
1 parent 90b5b06 commit f0267fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kelpie/pools/DHTPool/DHTPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ rc_t DHTPool::Need(const Key &key, size_t expected_ldo_user_bytes, lunasa::DataO
bool is_found=false;

rc_t rc = Want(key, expected_ldo_user_bytes,
[&key, &returned_ldo, &cv, &is_found] (bool success, Key key, lunasa::DataObject result_ldo,
[&returned_ldo, &cv, &is_found] (bool success, Key key, lunasa::DataObject result_ldo,
const kv_row_info_t &ri, const kv_col_info_t &c) {
if(success) {
*returned_ldo = result_ldo;
Expand Down

0 comments on commit f0267fc

Please sign in to comment.