Skip to content

Commit a52a618

Browse files
committed
tflite-micro-sync: Update esp-tflite-micro (synced from github)
1 parent ba96712 commit a52a618

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tensorflow/lite/core/api/flatbuffer_conversions.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ class BuiltinDataAllocator {
4242
// deallocation.
4343
template <typename T>
4444
T* AllocatePOD() {
45-
// TODO(b/154346074): Change this to is_trivially_destructible when all
46-
// platform targets support that properly.
47-
static_assert(std::is_pod<T>::value, "Builtin data structure must be POD.");
45+
static_assert(std::is_trivially_destructible<T>::value,
46+
"Builtin data structure must be POD.");
4847
void* allocated_memory = this->Allocate(sizeof(T), alignof(T));
4948
return new (allocated_memory) T();
5049
}

0 commit comments

Comments
 (0)