We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a7a2b commit 9b79d77Copy full SHA for 9b79d77
1 file changed
tests/reader.test.cpp
@@ -28,12 +28,11 @@ TEST(Reader, StreamWithManifest)
28
std::cout << "Test file path: " << test_file << std::endl;
29
30
for (const auto& entry : fs::directory_iterator(test_file.parent_path() )) {
31
- std::cout << entry.path() << std::endl;
+ std::cout << entry.path().native() << std::endl;
32
}
33
34
-
35
// read the new manifest and display the JSON
36
- std::ifstream file_stream(test_file.wstring(), std::ios::binary);
+ std::ifstream file_stream(test_file.native(), std::ios::binary);
37
ASSERT_TRUE(file_stream.is_open()) << "Failed to open file: " << test_file;
38
39
auto reader = c2pa::Reader("image/jpeg", file_stream);
0 commit comments