diff --git a/include/tvm/runtime/packed_func.h b/include/tvm/runtime/packed_func.h index c306f8d15160af6f0e5668bd64dca8685fcc17dd..c2098636f68704b6c18fdc540a88470d059349cc 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