diff --git a/include/tvm/runtime/packed_func.h b/include/tvm/runtime/packed_func.h index c306f8d15160..c2098636f687 100644 --- a/include/tvm/runtime/packed_func.h +++ b/include/tvm/runtime/packed_func.h @@ -603,7 +603,7 @@ class TVMRetValue : public TVMPODValue_ { using TVMPODValue_::operator TVMContext; using TVMPODValue_::operator NDArray; // Disable copy and assign from another value, but allow move. - TVMRetValue(const TVMRetValue& other) { + TVMRetValue(const TVMRetValue& other) : TVMPODValue_() { this->Assign(other); } // conversion operators