Replace use of deprecated C Standard library headers in C++ code.
Change-Id: I9fa6630c7e4bdb2897df34d417635d8c7d8253bc
Signed-off-by: Tyler Chatow <tchatow@gmail.com>
diff --git a/aos/vision/blob/region_alloc.h b/aos/vision/blob/region_alloc.h
index df33fed..3275f3e 100644
--- a/aos/vision/blob/region_alloc.h
+++ b/aos/vision/blob/region_alloc.h
@@ -1,9 +1,9 @@
#ifndef _AOS_VISION_REGION_ALLOC_H_
#define _AOS_VISION_REGION_ALLOC_H_
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdint>
+#include <cstdio>
+#include <cstdlib>
#include <memory>
#include <new>
#include <utility>
@@ -17,7 +17,7 @@
class AnalysisAllocator {
public:
template <typename T, typename... Args>
- T *cons_obj(Args &&... args) {
+ T *cons_obj(Args &&...args) {
uint8_t *ptr = NULL;
if (sizeof(T) + alignof(T) > block_size_) {
__builtin_trap();