diff --git a/include/tvm/runtime/container/optional.h b/include/tvm/runtime/container/optional.h index 89a0a989395d3..31ae9572743f2 100644 --- a/include/tvm/runtime/container/optional.h +++ b/include/tvm/runtime/container/optional.h @@ -97,9 +97,7 @@ class Optional : public ObjectRef { * \return The internal object pointer with type T* for Optional. * \note This function do not perform not-null checking. */ - const T* get() const { - return data_; - } + const T* get() const { return data_; } /*! * \return The contained value if the Optional is not null * otherwise return the default_value.