mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 12:22:51 +08:00
build: fix unused variable warning for vzeroupper guard
This commit is contained in:
parent
9365817bfd
commit
e7cc2eea1d
@ -108,7 +108,7 @@ struct VZeroUpperGuard {
|
|||||||
#endif
|
#endif
|
||||||
inline ~VZeroUpperGuard() { _mm256_zeroupper(); }
|
inline ~VZeroUpperGuard() { _mm256_zeroupper(); }
|
||||||
};
|
};
|
||||||
#define __CV_AVX_GUARD VZeroUpperGuard __vzeroupper_guard;
|
#define __CV_AVX_GUARD VZeroUpperGuard __vzeroupper_guard; (void)__vzeroupper_guard;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // __OPENCV_BUILD
|
#endif // __OPENCV_BUILD
|
||||||
|
Loading…
Reference in New Issue
Block a user