Skip to content

Commit 7ddc029

Browse files
authored
Merge pull request opencv#26634 from FantasqueX:fix-test-exif-1
Fix test_exif compilation when none of JPEG, PNG, AVIF is enabled
2 parents d77abed + 2e21e11 commit 7ddc029

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/imgcodecs/test/test_exif.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// It is subject to the license terms in the LICENSE file found in the top-level
33
// directory of this distribution and at http://opencv.org/license.html
44

5+
#include <string>
6+
#include <vector>
7+
58
#include "test_precomp.hpp"
69

710
namespace opencv_test { namespace {
@@ -110,7 +113,7 @@ TEST_P(Exif, exif_orientation)
110113
}
111114
}
112115

113-
const string exif_files[] =
116+
const std::vector<std::string> exif_files
114117
{
115118
#ifdef HAVE_JPEG
116119
"readwrite/testExifOrientation_1.jpg",

0 commit comments

Comments
 (0)