File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,17 @@ class GenericClient : public ClientBase
6060
6161 // / See std::future::share().
6262 SharedFuture share () noexcept {return this ->future .share ();}
63+
64+ // / Move constructor.
65+ FutureAndRequestId (FutureAndRequestId && other) noexcept = default ;
66+ // / Deleted copy constructor, each instance is a unique owner of the future.
67+ FutureAndRequestId (const FutureAndRequestId & other) = delete ;
68+ // / Move assignment.
69+ FutureAndRequestId & operator =(FutureAndRequestId && other) noexcept = default ;
70+ // / Deleted copy assignment, each instance is a unique owner of the future.
71+ FutureAndRequestId & operator =(const FutureAndRequestId & other) = delete ;
72+ // / Destructor.
73+ ~FutureAndRequestId () = default ;
6374 };
6475
6576 GenericClient (
You can’t perform that action at this time.
0 commit comments