diff --git a/include/tvm/runtime/container.h b/include/tvm/runtime/container.h index e6281eea12881..b2818d5afe462 100644 --- a/include/tvm/runtime/container.h +++ b/include/tvm/runtime/container.h @@ -23,8 +23,8 @@ */ #ifndef TVM_RUNTIME_CONTAINER_H_ #define TVM_RUNTIME_CONTAINER_H_ - #include +#include namespace tvm { namespace runtime { diff --git a/include/tvm/runtime/memory.h b/include/tvm/runtime/memory.h index c2e87b2703a78..dd7da78faccfe 100644 --- a/include/tvm/runtime/memory.h +++ b/include/tvm/runtime/memory.h @@ -126,7 +126,7 @@ class SimpleObjAllocator : template static T* NewWithExtraSpace(SimpleObjAllocator*, size_t extra, Args&&... args) { - // TODO: use aligned_alloc in the future + // TODO(wweic): use aligned_alloc in the future void* data = std::malloc(sizeof(T) + extra); new (data) T(std::forward(args)...); return reinterpret_cast(data); diff --git a/src/runtime/container.cc b/src/runtime/container.cc index b1309045c7c66..70da378abe3e7 100644 --- a/src/runtime/container.cc +++ b/src/runtime/container.cc @@ -21,8 +21,8 @@ * \brief POD container type implementations. */ #include -#include #include +#include #include "object_internal.h" #include "runtime_base.h" @@ -49,6 +49,6 @@ ADT::ADT(uint32_t tag, std::vector fields) { ADT ADT::Tuple(std::vector fields) { return ADT(0, fields); } - + } // namespace runtime } // namespace tvm