Skip to content

Commit

Permalink
Fix compilation errors in libcudf(rapidsai#7138)
Browse files Browse the repository at this point in the history
After recent changes in libcudf compilation in rapidsai#7105, the compilation of libcudf on my local machine is broken and these changes fixed the compilation errors.

Authors:
  - galipremsagar <sagarprem75@gmail.com>

Approvers:
  - Keith Kraus (@kkraus14)
  - Devavret Makkar (@devavret)
  - David (@davidwendt)

URL: rapidsai#7138
  • Loading branch information
galipremsagar authored Jan 13, 2021
1 parent e647d1a commit e0e2cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/src/aggregation/result_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ std::unique_ptr<column> result_cache::release_result(size_t col_idx, aggregation
auto result_it = _cache[col_idx].find(agg);
std::unique_ptr<column> result = std::move(result_it->second.second);
_cache[col_idx].erase(result_it);
return std::move(result);
return result;
}

} // namespace detail
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/comms/ipc/ipc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ arrow::Result<std::unique_ptr<arrow::ipc::Message>> CudaMessageReader::ReadNextM
if (host_schema_reader_ != nullptr) {
auto message = arrow::ipc::ReadMessage(host_schema_reader_);
host_schema_reader_ = nullptr;
if (message.ok() && *message != nullptr) { return std::move(message); }
if (message.ok() && *message != nullptr) { return message; }
}
return std::move(arrow::ipc::ReadMessage(stream_, arrow::default_memory_pool()));
}
Expand Down

0 comments on commit e0e2cf8

Please sign in to comment.