Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 711892160
  • Loading branch information
Google-ML-Automation committed Jan 4, 2025
1 parent 4f21f75 commit 00ff572
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 @@ -597,7 +597,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 00ff572

Please sign in to comment.