diff --git a/tensorflow/lite/core/api/flatbuffer_conversions.h b/tensorflow/lite/core/api/flatbuffer_conversions.h index 376b0eeb630..5bc70cc6dea 100644 --- a/tensorflow/lite/core/api/flatbuffer_conversions.h +++ b/tensorflow/lite/core/api/flatbuffer_conversions.h @@ -42,9 +42,8 @@ class BuiltinDataAllocator { // deallocation. template T* AllocatePOD() { - // TODO(b/154346074): Change this to is_trivially_destructible when all - // platform targets support that properly. - static_assert(std::is_pod::value, "Builtin data structure must be POD."); + static_assert(std::is_trivially_destructible::value, + "Builtin data structure must be POD."); void* allocated_memory = this->Allocate(sizeof(T), alignof(T)); return new (allocated_memory) T(); }