Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 committed Jan 19, 2022
1 parent f17efab commit 564ff66
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/tvm/runtime/container/optional.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ class Optional : public ObjectRef {
* \return The internal object pointer with type T* for Optional<T>.
* \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.
Expand Down

0 comments on commit 564ff66

Please sign in to comment.