aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/stream_executor/event.h')
-rw-r--r--tensorflow/stream_executor/event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/stream_executor/event.h b/tensorflow/stream_executor/event.h
index 1f37262c78..9cc87a7c12 100644
--- a/tensorflow/stream_executor/event.h
+++ b/tensorflow/stream_executor/event.h
@@ -61,6 +61,9 @@ class Event {
// Returns a pointer to the underlying platform-specific implementation.
internal::EventInterface* implementation() { return implementation_.get(); }
+ Event(Event&&) = default;
+ Event& operator=(Event&&) = default;
+
private:
friend class Stream;