Merge pull request #9142 from alalek:vzeroupper_guard_unused_warning
This commit is contained in:
commit
9b9e685dbc
@ -108,7 +108,7 @@ struct VZeroUpperGuard {
|
||||
#endif
|
||||
inline ~VZeroUpperGuard() { _mm256_zeroupper(); }
|
||||
};
|
||||
#define __CV_AVX_GUARD VZeroUpperGuard __vzeroupper_guard;
|
||||
#define __CV_AVX_GUARD VZeroUpperGuard __vzeroupper_guard; (void)__vzeroupper_guard;
|
||||
#endif
|
||||
|
||||
#endif // __OPENCV_BUILD
|
||||
|
||||
Loading…
Reference in New Issue
Block a user