Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 714529117
  • Loading branch information
Google-ML-Automation committed Jan 12, 2025
1 parent 0cb8b51 commit 51b2594
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions xla/pjrt/pjrt_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -311,13 +311,13 @@ class PjRtChunk {
}
}

PjRtChunk(PjRtChunk&& other)
PjRtChunk(PjRtChunk&& other) noexcept
: data_(other.data_),
size_(other.size_),
deleter_(std::move(other.deleter_)) {
other.data_ = nullptr;
}
PjRtChunk& operator=(PjRtChunk&& other) {
PjRtChunk& operator=(PjRtChunk&& other) noexcept {
if (data_) {
deleter_(data_);
}
Expand Down
2 changes: 1 addition & 1 deletion xla/pjrt/pjrt_stream_executor_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ class PjRtStreamExecutorBuffer : public PjRtBuffer {
};

~ScopedHold();
ScopedHold(ScopedHold&& other);
ScopedHold(ScopedHold&& other) noexcept;
ScopedHold(const ScopedHold&) = delete;
ScopedHold& operator=(const ScopedHold&) = delete;

Expand Down

0 comments on commit 51b2594

Please sign in to comment.