From 564ff66810b2a53f781d650454de36704f2914df Mon Sep 17 00:00:00 2001 From: Zihao Ye Date: Wed, 15 Dec 2021 01:11:59 -0800 Subject: [PATCH] upd --- include/tvm/runtime/container/optional.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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.