Fix build error after merge utilpp.h to util.h (#19714)

* fix std::atomic build error

* remove include util.h
albatross
Dean Lee 2021-01-11 12:28:11 +08:00 committed by GitHub
parent 595830135b
commit 83bdd23a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 14 deletions

View File

@ -25,7 +25,6 @@
#endif // ifdef QCOM
#include "common/util.h"
#include "common/visionimg.h"
#ifdef QCOM

View File

@ -1,6 +1,4 @@
#ifndef VISIONIMG_H
#define VISIONIMG_H
#pragma once
#include "visionbuf.h"
#include "common/glutil.h"
@ -13,10 +11,6 @@ typedef int EGLImageKHR;
typedef void *EGLClientBuffer;
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define VISIONIMG_FORMAT_RGB24 1
typedef struct VisionImg {
@ -29,9 +23,3 @@ typedef struct VisionImg {
GLuint visionimg_to_gl(const VisionImg *img, EGLImageKHR *pkhr, void **pph);
void visionimg_destroy_gl(EGLImageKHR khr, void *ph);
#ifdef __cplusplus
} // extern "C"
#endif
#endif