diff options
-rw-r--r-- | cpp/include/Ice/OutgoingAsync.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/Ice/OutgoingAsync.h b/cpp/include/Ice/OutgoingAsync.h index aebb165a11d..b9bf898a3c9 100644 --- a/cpp/include/Ice/OutgoingAsync.h +++ b/cpp/include/Ice/OutgoingAsync.h @@ -580,7 +580,7 @@ public: this->_is.startEncapsulation(); R v = this->_read(&this->_is); this->_is.endEncapsulation(); - this->_promise.set_value(v); + this->_promise.set_value(std::move(v)); } else { |