Skip to content

Commit

Permalink
Update src/client_lib/pegasus_scanner_impl.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Wang <wangdan@apache.org>
  • Loading branch information
acelyc111 and empiredan authored Aug 29, 2022
1 parent 8de3a44 commit 3045219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client_lib/pegasus_scanner_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ int pegasus_client_impl::pegasus_scanner_impl::next(int32_t &count, internal_inf
uint32_t expire_ts_seconds,
int32_t kv_count) {
ret = err;
if (info) {
(*info) = std::move(ii);
if (info != nullptr) {
*info = std::move(ii);
}
count = kv_count;
op_completed.notify();
Expand Down

0 comments on commit 3045219

Please sign in to comment.