Skip to content

Commit aaa9969

Browse files
committed
Merge branch 'ci/sync_gh_tflite-micro' into 'master'
Sync esp-tflite-micro from github - 880368 See merge request app-frameworks/esp-tflite-micro!163
2 parents ba96712 + a52a618 commit aaa9969

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)