fixed some errs on gcc12

This commit is contained in:
Feiyue Chen 2022-09-14 17:36:05 +08:00 committed by Sven
parent 6d9ed7b25b
commit 95401036ab
3 changed files with 3 additions and 1 deletions

View File

@ -64,7 +64,7 @@ if(TIM_VX_ENABLE_TEST)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.10.0
GIT_TAG release-1.12.0
)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)

View File

@ -27,6 +27,7 @@
#define TIM_VX_OPS_MAXPOOLGRAD_H_
#include "tim/vx/operation.h"
#include <array>
namespace tim {
namespace vx {
namespace ops {

View File

@ -26,6 +26,7 @@
#include "tim/vx/ops/stridedslice.h"
#include "tim/transform/layout_inference.h"
#include <array>
#include <algorithm>
#include "gtest/gtest.h"