diff --git a/tensorflow/lite/simple_memory_arena.h b/tensorflow/lite/simple_memory_arena.h index bb9407b7bfd..803b8be174f 100644 --- a/tensorflow/lite/simple_memory_arena.h +++ b/tensorflow/lite/simple_memory_arena.h @@ -16,8 +16,8 @@ limitations under the License. #define TENSORFLOW_LITE_SIMPLE_MEMORY_ARENA_H_ #include -#include #include +#include #include "tensorflow/lite/c/common.h" @@ -112,7 +112,7 @@ class SimpleMemoryArena { std::unique_ptr underlying_buffer_; size_t underlying_buffer_size_; char* underlying_buffer_aligned_ptr_; - std::list ordered_allocs_; + std::vector ordered_allocs_; }; } // namespace tflite