Fix building opencv using gcc 11.x #19244
authorYour Name <you@example.com>
Sat, 2 Jan 2021 17:43:11 +0000 (17:43 +0000)
committerYour Name <you@example.com>
Sat, 2 Jan 2021 17:43:11 +0000 (17:43 +0000)
Add missing `#include <thread>` in modules/gapi/test/test_precomp.hpp

modules/gapi/test/test_precomp.hpp

index 7b3c695..e92b1d0 100644 (file)
@@ -11,6 +11,7 @@
 #define __OPENCV_GAPI_TEST_PRECOMP_HPP__
 
 #include <cstdint>
+#include <thread>
 #include <vector>
 
 #include <opencv2/ts.hpp>